From f2e03d2c07bab985d941ffc5d681a5b172fa8888 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 16 Jan 2017 12:49:40 +0000 Subject: CLOUD: Fix Various Compiler Warnings By Adding Casts. --- backends/networking/sdl_net/handlers/filespagehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/networking/sdl_net/handlers') diff --git a/backends/networking/sdl_net/handlers/filespagehandler.cpp b/backends/networking/sdl_net/handlers/filespagehandler.cpp index 01b40c3bcb..dea7367c1b 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] > 0x7F) + else if (s[i] > (char)0x7F) result += Common::String::format("&#%d;", (int)s[i]); else result += s[i]; return result; -- cgit v1.2.3