(higher_prime_number): Fix type of mid variable.
authordrepper <drepper>
Tue, 20 May 2008 22:55:47 +0000 (22:55 +0000)
committerdrepper <drepper>
Tue, 20 May 2008 22:55:47 +0000 (22:55 +0000)
include/inline-hashtab.h

index 1c36bd7..ad361cd 100644 (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