Skip to content

Commit

Permalink
Fix conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Blanchon committed Jul 20, 2016
1 parent 13a1178 commit 5bd1660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/JsonWriter_WriteFloat_Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using namespace ArduinoJson::Internals;

class JsonWriter_WriteFloat_Tests : public testing::Test {
protected:
void whenInputIs(double input, int digits = 2) {
void whenInputIs(double input, uint8_t digits = 2) {
StaticStringBuilder sb(buffer, sizeof(buffer));
JsonWriter writer(sb);
writer.writeFloat(input, digits);
Expand Down

0 comments on commit 5bd1660

Please sign in to comment.