Browse Source

fix warning: comparison is always false due to limited range of data type

main
Frank 7 years ago
parent
commit
dc1426be97
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/Stream.cpp

+ 1
- 1
teensy3/Stream.cpp View File

boolean isNegative = false; boolean isNegative = false;
boolean isFraction = false; boolean isFraction = false;
long value = 0; long value = 0;
char c;
int c;
float fraction = 1.0; float fraction = 1.0;


c = peekNextDigit(); c = peekNextDigit();

Loading…
Cancel
Save