chore: fix almost *ALL* warnings.
[lunaix-os.git] / lunaix-os / includes / lunaix / ds / hashtable.h
index 0e8c691a47ebc1279177ed4559e0411766506243..c3aea3f451dd973d19802009307aafa92e812e1f 100644 (file)
@@ -38,7 +38,7 @@ struct hbucket
 
 #define hashtable_init(table)                                                  \
     {                                                                          \
-        for (int i = 0; i < (sizeof(table) / sizeof(table[0])); i++) {         \
+        for (u32_t i = 0; i < (sizeof(table) / sizeof(table[0])); i++) {       \
             table[i].head = 0;                                                 \
         }                                                                      \
     }