diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2013-09-06 12:59:24 +0200 |
---|---|---|
committer | Federico Fissore <f.fissore@arduino.cc> | 2013-09-06 12:59:24 +0200 |
commit | 35f10e412f5d00027f9d7f2036243c681dbec406 (patch) | |
tree | d6b056cbff8b9421dd2fd84815cae18f6a83259e /cores/arduino/WString.cpp | |
parent | f6f9c2a82420c88a5049c792e10e4f21138d25c1 (diff) | |
parent | cbeaa543fc2ea23efc8a2d64baf2b852a755af23 (diff) |
Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery
Diffstat (limited to 'cores/arduino/WString.cpp')
-rw-r--r-- | cores/arduino/WString.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/WString.cpp b/cores/arduino/WString.cpp index e462bee..63af6d3 100644 --- a/cores/arduino/WString.cpp +++ b/cores/arduino/WString.cpp @@ -106,14 +106,14 @@ String::String(unsigned long value, unsigned char base) *this = buf; } -String::String(float value, int decimalPlaces) +String::String(float value, unsigned char decimalPlaces) { init(); char buf[33]; *this = dtostrf(value, (decimalPlaces + 2), decimalPlaces, buf); } -String::String(double value, int decimalPlaces) +String::String(double value, unsigned char decimalPlaces) { init(); char buf[33]; |