mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +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
|
@ -59,7 +59,7 @@ private:
|
|||
static Vector<Quote> parse_all(const JsonArray& array)
|
||||
{
|
||||
Vector<Quote> quotes;
|
||||
for (int i = 0; i < array.size(); ++i) {
|
||||
for (size_t i = 0; i < array.size(); ++i) {
|
||||
Optional<Quote> q = Quote::try_parse(array[i]);
|
||||
if (!q.has_value()) {
|
||||
warnln("WARNING: Could not parse quote #{}!", i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue