diff --git a/modules/web/http_server_simple/http_parser.cpp b/modules/web/http_server_simple/http_parser.cpp index 4842258e3..5f24d7da9 100644 --- a/modules/web/http_server_simple/http_parser.cpp +++ b/modules/web/http_server_simple/http_parser.cpp @@ -69,7 +69,7 @@ String HTTPParser::chr_len_to_str(const char *at, size_t length) { CharType *p = ret.ptrw(); - for (int i = 0; i <= length; ++i) { + for (size_t i = 0; i <= length; ++i) { p[i] = at[i]; }