Skip to content

Commit

Permalink
Fix GCC 7 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Sep 27, 2017
1 parent 353bbd0 commit 3b7dee0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ArduinoJson/Serialization/JsonSerializerImpl.hpp
Expand Up @@ -91,6 +91,9 @@ inline void ArduinoJson::Internals::JsonSerializer<Writer>::serialize(

case JSON_NEGATIVE_INTEGER:
writer.writeRaw('-');
writer.writeInteger(variant._content.asInteger);
return;

case JSON_POSITIVE_INTEGER:
writer.writeInteger(variant._content.asInteger);
return;
Expand Down

0 comments on commit 3b7dee0

Please sign in to comment.