1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Fixed: warning: comparison between signed and unsigned integer expressions

This commit is contained in:
Kristian Sloth Lauszus 2015-04-21 00:08:11 +02:00
parent f3e7a3909d
commit 91489d7ba8

View File

@ -293,7 +293,7 @@ int Stream::findMulti( struct Stream::MultiTarget *targets, int tCount) {
// otherwise we need to check the rest of the found string
int diff = origIndex - t->index;
int i;
size_t i;
for (i = 0; i < t->index; ++i)
if (t->str[i] != t->str[i + diff])
break;