Fix -Wsign-conversion on GCC 8 (fixes #1715)

This commit is contained in:
Benoit Blanchon
2022-02-25 09:23:51 +01:00
parent 986f77fa15
commit 89ed54362b
20 changed files with 32 additions and 30 deletions

View File

@ -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");