From 82eb5692c6dc5a9a64e0c3ca32e8f3fa4346656d Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 21 Apr 2015 00:08:11 +0200 Subject: Fixed: warning: comparison between signed and unsigned integer expressions --- cores/arduino/Stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino') diff --git a/cores/arduino/Stream.cpp b/cores/arduino/Stream.cpp index 9712859..7e8bf10 100644 --- a/cores/arduino/Stream.cpp +++ b/cores/arduino/Stream.cpp @@ -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; -- cgit v1.2.3-18-g5258