From 66cdcb9cb9aee36b71f9db7365290e57f99f8594 Mon Sep 17 00:00:00 2001 From: Tsht Date: Sat, 16 Dec 2023 10:36:29 +0100 Subject: [PATCH] Sign/unsigned mismatch (comparison always true) --- src/io/http/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/http/server.cpp b/src/io/http/server.cpp index 8c1aeec2..75da2fb1 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)])) {