From f4792bc06f21335fc2d1171d937ea7645ca0c253 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Mar 2011 22:13:37 +0200 Subject: Fix most conversions except manaserv net code and some other code. --- src/resources/iteminfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources') diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index 70f183d0e..09813c43f 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -139,7 +139,7 @@ const std::string ItemInfo::replaceColors(std::string str, str = replaceAll(str, "%color%", name); if (name.size() > 0) - name[0] = toupper(name[0]); + name[0] = static_cast(toupper(name[0])); return replaceAll(str, "%Color%", name); } -- cgit v1.2.3-70-g09d2