diff options
Diffstat (limited to 'libgo/runtime/go-new-map.c')
-rw-r--r-- | libgo/runtime/go-new-map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-new-map.c b/libgo/runtime/go-new-map.c index 8ea6c714a11..519f38f788a 100644 --- a/libgo/runtime/go-new-map.c +++ b/libgo/runtime/go-new-map.c @@ -85,7 +85,7 @@ __go_map_next_prime (unsigned long n) { size_t mid; - mid = (low + high / 2); + mid = (low + high) / 2; /* Here LOW <= MID < HIGH. */ |