From 22a8b3fff55ccf8fbef6d0ff8fbc726b9e43e540 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 1 Jul 2022 01:08:51 +0200 Subject: [PATCH] Fix sign compare warning. --- modules/web/http_server_simple/http_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }