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:
parent
66526cbbaf
commit
f45273649f
9 changed files with 14 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue