From 8868c3184a0cebefbf5dad66a0526496f4607df8 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 18 Apr 2024 16:59:49 +0200 Subject: Kernel: Fix compiler warnings --- kernel/hashmap/hashmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/hashmap') 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; } -- cgit v1.2.3