mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Fix -Wsign-conversion on GCC 8 (fixes #1715)
				
					
				
			This commit is contained in:
		| @@ -135,7 +135,7 @@ TEST_CASE("JsonArray::operator[]") { | ||||
|  | ||||
| #ifdef HAS_VARIABLE_LENGTH_ARRAY | ||||
|   SECTION("set(VLA)") { | ||||
|     int i = 16; | ||||
|     size_t i = 16; | ||||
|     char vla[i]; | ||||
|     strcpy(vla, "world"); | ||||
|  | ||||
| @@ -146,7 +146,7 @@ TEST_CASE("JsonArray::operator[]") { | ||||
|   } | ||||
|  | ||||
|   SECTION("operator=(VLA)") { | ||||
|     int i = 16; | ||||
|     size_t i = 16; | ||||
|     char vla[i]; | ||||
|     strcpy(vla, "world"); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user