diff options
author | Eugene Sandulenko | 2017-08-11 22:00:15 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-11 22:00:15 +0200 |
commit | addcdd5ae8bf18f897dd80b9e457383f00b2a290 (patch) | |
tree | 221e8a656ed132c74ce924f481d6ebf7c73a6e9d /backends/networking/sdl_net | |
parent | 1d086b9f20991ad9b87daa1cabc4610f9d611a5a (diff) | |
download | scummvm-rg350-addcdd5ae8bf18f897dd80b9e457383f00b2a290.tar.gz scummvm-rg350-addcdd5ae8bf18f897dd80b9e457383f00b2a290.tar.bz2 scummvm-rg350-addcdd5ae8bf18f897dd80b9e457383f00b2a290.zip |
NETWORKING: Fix data type cast in comparison. char is usually signed
Diffstat (limited to 'backends/networking/sdl_net')
-rw-r--r-- | backends/networking/sdl_net/handlers/filespagehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/handlers/filespagehandler.cpp b/backends/networking/sdl_net/handlers/filespagehandler.cpp index dea7367c1b..22afa83af8 100644 --- a/backends/networking/sdl_net/handlers/filespagehandler.cpp +++ b/backends/networking/sdl_net/handlers/filespagehandler.cpp @@ -56,7 +56,7 @@ Common::String encodeHtmlEntities(Common::String s) { result += ">"; else if (s[i] == '&') result += "&"; - else if (s[i] > (char)0x7F) + else if (s[i] > (byte)0x7F) result += Common::String::format("&#%d;", (int)s[i]); else result += s[i]; return result; |