mirror of https://github.com/golang/go.git
temp fix for map not multiple of 8
R=r OCL=19166 CL=19166
This commit is contained in:
parent
bc0b4f0d2a
commit
9795c9e727
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue