mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 03:52:16 +02:00
Fix -Wsign-conversion
on GCC 8 (fixes #1715)
This commit is contained in:
@ -29,7 +29,7 @@ TEST_CASE("JsonObject::containsKey()") {
|
||||
|
||||
#ifdef HAS_VARIABLE_LENGTH_ARRAY
|
||||
SECTION("key is a VLA") {
|
||||
int i = 16;
|
||||
size_t i = 16;
|
||||
char vla[i];
|
||||
strcpy(vla, "hello");
|
||||
|
||||
|
Reference in New Issue
Block a user