Skip to content

Commit 91489d7

Browse files
committed
Fixed: warning: comparison between signed and unsigned integer expressions
1 parent f3e7a39 commit 91489d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/avr/cores/arduino/Stream.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ int Stream::findMulti( struct Stream::MultiTarget *targets, int tCount) {
293293

294294
// otherwise we need to check the rest of the found string
295295
int diff = origIndex - t->index;
296-
int i;
296+
size_t i;
297297
for (i = 0; i < t->index; ++i)
298298
if (t->str[i] != t->str[i + diff])
299299
break;

0 commit comments

Comments
 (0)