mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Fix -Wsign-conversion -funsigned-char (fixes #1715)
This commit is contained in:
@@ -168,7 +168,7 @@ inline VariantConstRef operator|(VariantConstRef preferedValue,
|
||||
|
||||
// Out of class definition to avoid #1560
|
||||
inline bool VariantRef::set(char value) const {
|
||||
return set<signed char>(value);
|
||||
return set(static_cast<signed char>(value));
|
||||
}
|
||||
|
||||
// TODO: move somewhere else
|
||||
|
||||
Reference in New Issue
Block a user