Author: suokko
Date: Sat Jul  5 02:06:41 2008
New Revision: 27740

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27740&view=rev
Log:
Fix if char is signed type

Modified:
    trunk/src/addon_management.cpp

Modified: trunk/src/addon_management.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/addon_management.cpp?rev=27740&r1=27739&r2=27740&view=diff
==============================================================================
--- trunk/src/addon_management.cpp (original)
+++ trunk/src/addon_management.cpp Sat Jul  5 02:06:41 2008
@@ -105,7 +105,7 @@
        const char escape_char = 1;
 }
 
-static bool needs_escaping(char c) { return c == 0 || c == escape_char || c == 
13 || c == 254; }
+static bool needs_escaping(char c) { return c == 0 || c == escape_char || c == 
13 || c == static_cast<char>(254); }
 
 static bool IsCR(const char& c)
 {


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to