diff options
author | Matt Jenkins <matt@majenko.co.uk> | 2014-04-01 14:02:17 +0100 |
---|---|---|
committer | Matt Jenkins <matt@majenko.co.uk> | 2014-04-01 14:02:17 +0100 |
commit | 3fb1c595d1c12e547517e1e0810de9bd079c55a4 (patch) | |
tree | 0068cdb40879d3eab019cc01bdbfed755713d01b /cores/arduino/WString.h | |
parent | 823d9584184161d5d72ef1f49045799c10da5f1c (diff) |
Fixed string constructor overloading bug
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r-- | cores/arduino/WString.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index 2d372c5..f4da569 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -68,8 +68,8 @@ public: explicit String(unsigned int, unsigned char base=10); explicit String(long, unsigned char base=10); explicit String(unsigned long, unsigned char base=10); - explicit String(float, int decimalPlaces=6); - explicit String(double, int decimalPlaces=6); + explicit String(float, unsigned char decimalPlaces=6); + explicit String(double, unsigned char decimalPlaces=6); ~String(void); // memory management |