diff options
Diffstat (limited to 'src/runtime/hashmap.c')
-rw-r--r-- | src/runtime/hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/hashmap.c b/src/runtime/hashmap.c index 0bb276a54..b70f9e952 100644 --- a/src/runtime/hashmap.c +++ b/src/runtime/hashmap.c @@ -125,7 +125,7 @@ hash_init (struct hash *h, if(datasize < sizeof (void *)) datasize = sizeof (void *); - datasize = rnd(datasize, 8); + datasize = rnd(datasize, sizeof (void *)); init_sizes (hint, &init_power, &max_power); h->datasize = datasize; h->max_power = max_power; |