Skip to content

Commit cf274ff

Browse files
committed
Merge remote-tracking branch 'arduino/ide-1.5.x' into zero
1 parent 95da7fb commit cf274ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: cores/arduino/Stream.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void Stream::setTimeout(unsigned long timeout) // sets the maximum number of mi
7575
// find returns true if the target string is found
7676
bool Stream::find(char *target)
7777
{
78-
return findUntil(target, NULL);
78+
return findUntil(target, "");
7979
}
8080

8181
// reads data from the stream until the target string of given length is found
@@ -176,7 +176,7 @@ float Stream::parseFloat(char skipChar){
176176
boolean isNegative = false;
177177
boolean isFraction = false;
178178
long value = 0;
179-
char c;
179+
int c;
180180
float fraction = 1.0;
181181

182182
c = peekNextDigit();

0 commit comments

Comments
 (0)