summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index a1da061bd8..2c4616f2f0 100644
--- a/hash.c
+++ b/hash.c
@@ -103,7 +103,7 @@ any_hash(a, mod)
hval = rb_funcall(hval, '%', 1, INT2FIX(65439));
}
ENABLE_INTS;
- hval = FIX2INT(hval);
+ hval = FIX2LONG(hval);
}
return hval % mod;
}