aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Stream.cpp
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2014-04-20 19:36:29 +0200
committerCristian Maglie <c.maglie@bug.st>2014-04-20 19:36:29 +0200
commit945cf41bc3f2ecc04e95c73fd81958d20f9c27b9 (patch)
tree086d57e7393c7d1a0b666015be218a950a711635 /cores/arduino/Stream.cpp
parent75bb8c90e914aaef73562237f10b7a4cce480474 (diff)
parent53c0f1412d9a53ddc7bdeb1743d9054f552b1dab (diff)
Merge branch 'ide-1.5.x-warnings' of github.com:matthijskooijman/Arduino into ide-1.5.x
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 aafb7fc..a12a72e 100644
--- a/cores/arduino/Stream.cpp
+++ b/cores/arduino/Stream.cpp
@@ -176,7 +176,7 @@ float Stream::parseFloat(char skipChar){
boolean isNegative = false;
boolean isFraction = false;
long value = 0;
- char c;
+ int c;
float fraction = 1.0;
c = peekNextDigit();