aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-05-20 22:55:47 +0000
committerUlrich Drepper <drepper@redhat.com>2008-05-20 22:55:47 +0000
commitb88e20877794db27587a7c7876b7c43ee7909bac (patch)
treeeea93f36001360d9807000ae60356928d26dffff
parented8f38ba440fcad087ce7fa0f06e05a1e4b39bbd (diff)
downloadglibc-b88e20877794db27587a7c7876b7c43ee7909bac.tar
glibc-b88e20877794db27587a7c7876b7c43ee7909bac.tar.gz
glibc-b88e20877794db27587a7c7876b7c43ee7909bac.tar.bz2
glibc-b88e20877794db27587a7c7876b7c43ee7909bac.zip
(higher_prime_number): Fix type of mid variable.
-rw-r--r--include/inline-hashtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inline-hashtab.h b/include/inline-hashtab.h
index 1c36bd7fce..ad361cd1ed 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