aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Stream.cpp
diff options
context:
space:
mode:
authorKristian Sloth Lauszus <lauszus@gmail.com>2015-04-21 00:08:11 +0200
committerKristian Sloth Lauszus <lauszus@gmail.com>2015-04-21 00:08:11 +0200
commit82eb5692c6dc5a9a64e0c3ca32e8f3fa4346656d (patch)
treea03979763b804ff18c1c52f118c0d0d1b6f43371 /cores/arduino/Stream.cpp
parent2398ef5260a7437b45c1af9e49bc5891aea4f6d9 (diff)
Fixed: warning: comparison between signed and unsigned integer expressions
Diffstat (limited to 'cores/arduino/Stream.cpp')
-rw-r--r--cores/arduino/Stream.cpp2
1 files changed, 1 insertions, 1 deletions
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;