Skip to content

Commit 38e9fa1

Browse files
committed
Merge pull request #2190 from ribbons/compiler-warnings
Fix two compiler warnings generated by updated toolchain
2 parents bcc5488 + cd68a1c commit 38e9fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/Stream.cpp

Lines changed: 1 addition & 1 deletion
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, "");
78+
return findUntil(target, (char*)"");
7979
}
8080

8181
// reads data from the stream until the target string of given length is found

0 commit comments

Comments
 (0)