Fix -Wall warnings

This commit is contained in:
Alex Hultman
2020-11-30 23:12:38 +01:00
parent ad0a961430
commit ec2795d341
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ namespace uWS {
unsigned int out = 0;
/* Walk over all chars until end or null char, decoding in place */
for (int i = 0; i < statementValue.length() && in[i]; i++) {
for (unsigned int i = 0; i < statementValue.length() && in[i]; i++) {
/* Only bother with '%' */
if (in[i] == '%') {
/* Do we have enough data for two bytes hex? */