aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index e16b95c93a..646027826b 100644
--- a/numeric.c
+++ b/numeric.c
@@ -936,7 +936,7 @@ static VALUE
flo_hash(VALUE num)
{
double d;
- int hash;
+ st_index_t hash;
d = RFLOAT_VALUE(num);
/* normalize -0.0 to 0.0 */