Skip to content

Commit

Permalink
Fix error on Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Oct 11, 2020
1 parent 2124a59 commit 8738a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArduinoJson/MsgPack/MsgPackDeserializer.hpp
Expand Up @@ -255,7 +255,7 @@ class MsgPackDeserializer {
}

if (allowValue)
variant.setInteger<int8_t>(code);
variant.setInteger(static_cast<int8_t>(code));

return true;
}
Expand Down

0 comments on commit 8738a83

Please sign in to comment.