mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 04:16:50 +01:00
Fix sign compare warning.
This commit is contained in:
parent
0ee8dc5f2a
commit
22a8b3fff5
@ -69,7 +69,7 @@ String HTTPParser::chr_len_to_str(const char *at, size_t length) {
|
|||||||
|
|
||||||
CharType *p = ret.ptrw();
|
CharType *p = ret.ptrw();
|
||||||
|
|
||||||
for (int i = 0; i <= length; ++i) {
|
for (size_t i = 0; i <= length; ++i) {
|
||||||
p[i] = at[i];
|
p[i] = at[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user