diff options
| author | Cristian Maglie <c.maglie@bug.st> | 2014-07-19 09:35:58 +0200 |
|---|---|---|
| committer | Cristian Maglie <c.maglie@bug.st> | 2014-07-19 09:35:58 +0200 |
| commit | 38e9fa1a5fbe8b719cf422ea9516e7c310cd7df4 (patch) | |
| tree | 768d5a1aeb66b0647d756b5722e9c6173872c93e | |
| parent | bcc5488cbcddc8c3d7125fb59ac7edc054673ebc (diff) | |
| parent | cd68a1c52cd77029d5cb463ed65f10ebe011da6d (diff) | |
Merge pull request #2190 from ribbons/compiler-warnings
Fix two compiler warnings generated by updated toolchain
| -rw-r--r-- | cores/arduino/Stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Stream.cpp b/cores/arduino/Stream.cpp index 39873aa..9c581be 100644 --- a/cores/arduino/Stream.cpp +++ b/cores/arduino/Stream.cpp @@ -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 |
