Merge pull request #2190 from ribbons/compiler-warnings

Fix two compiler warnings generated by updated toolchain
This commit is contained in:
Cristian Maglie 2014-07-19 09:35:58 +02:00
commit 38e9fa1a5f
1 changed files with 1 additions and 1 deletions

View File

@ -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
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