mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
AK+Everywhere: Change int to size_t in JsonObject and JsonArray
This commit is contained in:
committed by
Andreas Kling
parent
66526cbbaf
commit
f45273649f
@@ -58,7 +58,7 @@ void CommonLocationsProvider::load_from_json(const String& json_path)
|
||||
|
||||
s_common_locations.clear();
|
||||
auto contents = json.value().as_array();
|
||||
for (auto i = 0; i < contents.size(); ++i) {
|
||||
for (size_t i = 0; i < contents.size(); ++i) {
|
||||
auto entry_value = contents.at(i);
|
||||
if (!entry_value.is_object())
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user