summaryrefslogtreecommitdiff
path: root/kernel/hashmap/hashmap.c
diff options
context:
space:
mode:
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;
}