aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Stream.cpp
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2014-07-19 09:35:58 +0200
committerCristian Maglie <c.maglie@bug.st>2014-07-19 09:35:58 +0200
commit38e9fa1a5fbe8b719cf422ea9516e7c310cd7df4 (patch)
tree768d5a1aeb66b0647d756b5722e9c6173872c93e /cores/arduino/Stream.cpp
parentbcc5488cbcddc8c3d7125fb59ac7edc054673ebc (diff)
parentcd68a1c52cd77029d5cb463ed65f10ebe011da6d (diff)
Merge pull request #2190 from ribbons/compiler-warnings
Fix two compiler warnings generated by updated toolchain
Diffstat (limited to 'cores/arduino/Stream.cpp')
-rw-r--r--cores/arduino/Stream.cpp2
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