summaryrefslogtreecommitdiff
path: root/kernel/hashmap/hashmap.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-18 16:59:49 +0200
committerAnton Kling <anton@kling.gg>2024-04-18 16:59:49 +0200
commit8868c3184a0cebefbf5dad66a0526496f4607df8 (patch)
tree01dc107bf714d14e27ca3f17926b320868716c5a /kernel/hashmap/hashmap.c
parent568a0b7017e8e779731325083015907b006866c3 (diff)
Kernel: Fix compiler warnings
Diffstat (limited to 'kernel/hashmap/hashmap.c')
-rw-r--r--kernel/hashmap/hashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hashmap/hashmap.c b/kernel/hashmap/hashmap.c
index 833ed70..32511d0 100644
--- a/kernel/hashmap/hashmap.c
+++ b/kernel/hashmap/hashmap.c
@@ -192,7 +192,7 @@ int hashmap_delete_entry(HashMap *m, const char *key) {
}
void hashmap_free(HashMap *m) {
- for (int i = 0; i < m->size; i++) {
+ for (size_t i = 0; i < m->size; i++) {
if (!m->entries[i]) {
continue;
}