diff options
| author | 2018-05-05 20:38:51 +0100 | |
|---|---|---|
| committer | 2018-05-05 20:38:51 +0100 | |
| commit | 17997cba79842c5d07d38090997f0487603f8c94 (patch) | |
| tree | 15092bebec39bcb93ce79e08d547b906903a4833 | |
| parent | Merge pull request #29 from pmttavara/patch-1 (diff) | |
| parent | Fixed GB_TABLE rehash (diff) | |
Merge pull request #30 from terickson001/master
Fixed GB_TABLE rehash
| -rw-r--r-- | gb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1876,7 +1876,7 @@ void GB_JOIN2(FUNC,rehash)(NAME *h, isize new_count) { \ gbHashTableFindResult fr; \ if (gb_array_count(nh.hashes) == 0) \ GB_JOIN2(FUNC,grow)(&nh); \ - e = &nh.entries[i]; \ + e = &h->entries[i]; \ fr = GB_JOIN2(FUNC,_find)(&nh, e->key); \ j = GB_JOIN2(FUNC,_add_entry)(&nh, e->key); \ if (fr.entry_prev < 0) \ |
