about summary refs log tree commit diff
diff options
context:
space:
mode:
-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