mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
fix sign cast warning
This commit is contained in:
parent
eb52965aef
commit
78caa5602a
@ -228,7 +228,7 @@ static void Dict__compact_entries(Dict* self) {
|
||||
}
|
||||
self->entries.length = n;
|
||||
// update indices
|
||||
for(int idx = 0; idx < self->capacity; idx++) {
|
||||
for(uint32_t idx = 0; idx < self->capacity; idx++) {
|
||||
uint32_t idx2 = Dict__get_index(self, idx);
|
||||
if(idx2 == self->null_index_value) continue;
|
||||
Dict__set_index(self, idx, mappings[idx2]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user