summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibKeyboard
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-06-28 11:57:37 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-29 13:18:03 +0200
commitf45273649f3af96bc756a98f33b7e963945830a1 (patch)
tree706e3aabd3189821c058b285a005c174ffef864f /Userland/Libraries/LibKeyboard
parent66526cbbaf4411af89bf96ab44ba6a7f58f3eaea (diff)
downloadserenity-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.cpp2
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;