diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-06-28 11:57:37 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-29 13:18:03 +0200 |
commit | f45273649f3af96bc756a98f33b7e963945830a1 (patch) | |
tree | 706e3aabd3189821c058b285a005c174ffef864f /Userland/Libraries/LibKeyboard | |
parent | 66526cbbaf4411af89bf96ab44ba6a7f58f3eaea (diff) | |
download | serenity-f45273649f3af96bc756a98f33b7e963945830a1.zip |
AK+Everywhere: Change int to size_t in JsonObject and JsonArray
Diffstat (limited to 'Userland/Libraries/LibKeyboard')
-rw-r--r-- | Userland/Libraries/LibKeyboard/CharacterMapFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp b/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp index 362b3a5f21..9add21aac9 100644 --- a/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp +++ b/Userland/Libraries/LibKeyboard/CharacterMapFile.cpp @@ -74,7 +74,7 @@ Vector<u32> CharacterMapFile::read_map(const JsonObject& json, const String& nam buffer.resize(CHAR_MAP_SIZE); auto map_arr = json.get(name).as_array(); - for (int i = 0; i < map_arr.size(); i++) { + for (size_t i = 0; i < map_arr.size(); i++) { auto key_value = map_arr.at(i).as_string(); if (key_value.length() == 0) { buffer[i] = 0; |