(higher_prime_number): Fix type of mid variable.

This commit is contained in:
Ulrich Drepper 2008-05-20 22:55:47 +00:00
parent ed8f38ba44
commit b88e208777
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ higher_prime_number (unsigned long n)
while (low != high)
{
const unsigned long *mid = low + (high - low) / 2;
const uint32_t *mid = low + (high - low) / 2;
if (n > *mid)
low = mid + 1;
else