1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

AK+Everywhere: Change int to size_t in JsonObject and JsonArray

This commit is contained in:
Max Wipfli 2021-06-28 11:57:37 +02:00 committed by Andreas Kling
parent 66526cbbaf
commit f45273649f
9 changed files with 14 additions and 14 deletions

View file

@ -90,7 +90,7 @@ bool JsonValue::equals(const JsonValue& other) const
if (is_array() && other.is_array() && as_array().size() == other.as_array().size()) {
bool result = true;
for (int i = 0; i < as_array().size(); ++i) {
for (size_t i = 0; i < as_array().size(); ++i) {
result &= as_array().at(i).equals(other.as_array().at(i));
}
return result;