mirror of
https://github.com/golang/go
synced 2024-11-12 10:30:23 -07:00
runtime: Change size of map iter offset so 32-bit version compiles cleanly.
R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/52310043
This commit is contained in:
parent
26cc10289f
commit
8454e2c287
@ -746,7 +746,7 @@ struct hash_iter
|
||||
byte *buckets; // bucket ptr at hash_iter initialization time
|
||||
struct Bucket *bptr; // current bucket
|
||||
|
||||
uint32 offset; // intra-bucket offset to start from during iteration
|
||||
uint8 offset; // intra-bucket offset to start from during iteration (should be big enough to hold BUCKETSIZE-1)
|
||||
bool done;
|
||||
|
||||
// state of table at time iterator is initialized
|
||||
|
Loading…
Reference in New Issue
Block a user