Skip to content

Commit

Permalink
Merge pull request #240 from Tsht/typelimits
Browse files Browse the repository at this point in the history
Sign/unsigned mismatch (comparison always true)
  • Loading branch information
daid authored Dec 16, 2023
2 parents d0c0826 + 66cdcb9 commit f39f401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/http/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)]))
{
Expand Down

0 comments on commit f39f401

Please sign in to comment.