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

This commit is contained in:
Benoit Blanchon committed 2022-02-25 10:28:42 +01:00
1 parent 986f77fa15
commit 89ed54362b
20 files changed
+32 -30

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ TEST_CASE("JsonVariant::set() when there is enough memory") {
#ifdef HAS_VARIABLE_LENGTH_ARRAY
SECTION("VLA") {
int n = 16;
size_t n = 16;
char str[n];
strcpy(str, "hello");