Merge pull request #2190 from ribbons/compiler-warnings
Fix two compiler warnings generated by updated toolchain
This commit is contained in:
commit
6a4c3791ce
|
@ -75,7 +75,7 @@ void Stream::setTimeout(unsigned long timeout) // sets the maximum number of mi
|
||||||
// find returns true if the target string is found
|
// find returns true if the target string is found
|
||||||
bool Stream::find(char *target)
|
bool Stream::find(char *target)
|
||||||
{
|
{
|
||||||
return findUntil(target, "");
|
return findUntil(target, (char*)"");
|
||||||
}
|
}
|
||||||
|
|
||||||
// reads data from the stream until the target string of given length is found
|
// reads data from the stream until the target string of given length is found
|
||||||
|
|
Loading…
Reference in New Issue