aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.h
diff options
context:
space:
mode:
authorFederico Fissore <f.fissore@arduino.cc>2013-09-06 12:59:24 +0200
committerFederico Fissore <f.fissore@arduino.cc>2013-09-06 12:59:24 +0200
commit35f10e412f5d00027f9d7f2036243c681dbec406 (patch)
treed6b056cbff8b9421dd2fd84815cae18f6a83259e /cores/arduino/WString.h
parentf6f9c2a82420c88a5049c792e10e4f21138d25c1 (diff)
parentcbeaa543fc2ea23efc8a2d64baf2b852a755af23 (diff)
Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r--cores/arduino/WString.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index f801f63..7402430 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -69,8 +69,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=2);
- explicit String(double, int decimalPlaces=2);
+ explicit String(float, unsigned char decimalPlaces=2);
+ explicit String(double, unsigned char decimalPlaces=2);
~String(void);
// memory management
@@ -113,7 +113,7 @@ public:
String & operator += (const String &rhs) {concat(rhs); return (*this);}
String & operator += (const char *cstr) {concat(cstr); return (*this);}
String & operator += (char c) {concat(c); return (*this);}
- String & operator += (unsigned char num) {concat(num); return (*this);}
+ String & operator += (unsigned char num) {concat(num); return (*this);}
String & operator += (int num) {concat(num); return (*this);}
String & operator += (unsigned int num) {concat(num); return (*this);}
String & operator += (long num) {concat(num); return (*this);}