Commit a6013350 by Ian Lance Taylor

re PR go/47910 (typo in __go_map_next_prime)

	PR go/47910
Correct search for next prime in libgo map code.

From-SVN: r170808
parent 93b826f0
...@@ -85,7 +85,7 @@ __go_map_next_prime (unsigned long n) ...@@ -85,7 +85,7 @@ __go_map_next_prime (unsigned long n)
{ {
size_t mid; size_t mid;
mid = (low + high / 2); mid = (low + high) / 2;
/* Here LOW <= MID < HIGH. */ /* Here LOW <= MID < HIGH. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment