From b88e20877794db27587a7c7876b7c43ee7909bac Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 20 May 2008 22:55:47 +0000 Subject: (higher_prime_number): Fix type of mid variable. --- include/inline-hashtab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/inline-hashtab.h b/include/inline-hashtab.h index 1c36bd7..ad361cd 100644 --- a/include/inline-hashtab.h +++ b/include/inline-hashtab.h @@ -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 -- cgit v1.1