Fixed warning "conversion may alter value" (issue #914)

This commit is contained in:
Benoit Blanchon
2019-03-01 09:15:43 +01:00
parent f3265d2111
commit 20fcb99830
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ class JsonDeserializer {
static inline uint8_t decodeHex(char c) {
if (c < 'A') return uint8_t(c - '0');
c &= ~0x20; // uppercase
c = char(c & ~0x20); // uppercase
return uint8_t(c - 'A' + 10);
}