diff --git a/src/io/http/server.cpp b/src/io/http/server.cpp index e1fdb2d2..e60e12e3 100644 --- a/src/io/http/server.cpp +++ b/src/io/http/server.cpp @@ -57,7 +57,7 @@ string uriDecode(const string& sSrc) { if (*pSrc == '%') { - char dec1, dec2; + signed char dec1, dec2; if (-1 != (dec1 = HEX2DEC[*(pSrc + 1)]) && -1 != (dec2 = HEX2DEC[*(pSrc + 2)])) {