mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Tweaked CFLAGS, and fixed related errors
This commit is contained in:
@@ -74,7 +74,7 @@ Toy_Table* Toy_private_adjustTableCapacity(Toy_Table* oldTable, unsigned int new
|
||||
}
|
||||
|
||||
//for each entry in the old table, copy it into the new table
|
||||
for (int i = 0; i < oldTable->capacity; i++) {
|
||||
for (unsigned int i = 0; i < oldTable->capacity; i++) {
|
||||
if (!TOY_VALUE_IS_NULL(oldTable->data[i].key)) {
|
||||
probeAndInsert(&newTable, oldTable->data[i].key, oldTable->data[i].value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user