8000 Fix build on GCC · ROMSDEV/ArduinoJson@adab9a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit adab9a3

Browse files
committed
Fix build on GCC
1 parent e8525bd commit adab9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/JsonObject/copy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void validateObject(TObject& object) {
2323
REQUIRE(object["hello"].template is<JsonArray>());
2424
REQUIRE(object["hello"][0] == std::string("world"));
2525

26-
const int expectedSize = JSON_OBJECT_SIZE(2) + JSON_ARRAY_SIZE(1);
26+
const size_t expectedSize = JSON_OBJECT_SIZE(2) + JSON_ARRAY_SIZE(1);
2727
REQUIRE(expectedSize == object.memoryUsage());
2828
}
2929

0 commit comments

Comments
 (0)
0