aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/sdl_net
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-11 22:00:15 +0200
committerEugene Sandulenko2017-08-11 22:00:15 +0200
commitaddcdd5ae8bf18f897dd80b9e457383f00b2a290 (patch)
tree221e8a656ed132c74ce924f481d6ebf7c73a6e9d /backends/networking/sdl_net
parent1d086b9f20991ad9b87daa1cabc4610f9d611a5a (diff)
downloadscummvm-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.cpp2
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;