mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Fixed: warning: comparison between signed and unsigned integer expressions
This commit is contained in:
@ -293,7 +293,7 @@ int Stream::findMulti( struct Stream::MultiTarget *targets, int tCount) {
|
|||||||
|
|
||||||
// otherwise we need to check the rest of the found string
|
// otherwise we need to check the rest of the found string
|
||||||
int diff = origIndex - t->index;
|
int diff = origIndex - t->index;
|
||||||
int i;
|
size_t i;
|
||||||
for (i = 0; i < t->index; ++i)
|
for (i = 0; i < t->index; ++i)
|
||||||
if (t->str[i] != t->str[i + diff])
|
if (t->str[i] != t->str[i + diff])
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user