diff options
Diffstat (limited to 'map.c')
| -rw-r--r-- | map.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -247,7 +247,7 @@ static size_t fetch_set_idx( if (offset >= set->__num_buckets) return set->__num_buckets; i++; offset = i * i; - idx = base + offset; + idx = (base + offset) % set->__num_buckets; } } |
