Fix sign compare warning.

This commit is contained in:
Relintai 2022-07-01 01:08:51 +02:00
parent 0ee8dc5f2a
commit 22a8b3fff5

View File

@ -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];
}