mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-30 02:37:35 +02:00
Fixed warning in GCC
This commit is contained in:
@ -17,7 +17,7 @@ void IndentedPrint::unindent() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void IndentedPrint::setTabSize(uint8_t n) {
|
void IndentedPrint::setTabSize(uint8_t n) {
|
||||||
if (n < MAX_TAB_SIZE) tabSize = n;
|
if (n < MAX_TAB_SIZE) tabSize = n & MAX_TAB_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t IndentedPrint::write(uint8_t c) {
|
size_t IndentedPrint::write(uint8_t c) {
|
||||||
|
Reference in New Issue
Block a user