1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:20:22 -07:00

temp fix for map not multiple of 8

R=r
OCL=19166
CL=19166
This commit is contained in:
Ken Thompson 2008-11-13 13:20:18 -08:00
parent bc0b4f0d2a
commit 9795c9e727

View File

@ -125,6 +125,7 @@ hash_init (struct hash *h,
if(datasize < sizeof (void *))
datasize = sizeof (void *);
datasize = rnd(datasize, 8);
init_sizes (hint, &init_power, &max_power);
h->datasize = datasize;
h->max_power = max_power;