summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 7e5ea42cf8..08849ba707 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2030,7 +2030,7 @@ out_of_range_float(char (*pbuf)[24], VALUE val)
LONG_MIN <= (n): \
LONG_MIN_MINUS_ONE < (n))
-SIGNED_VALUE
+long
rb_num2long(VALUE val)
{
again:
@@ -2100,7 +2100,7 @@ rb_num2ulong_internal(VALUE val, int *wrap_p)
}
}
-VALUE
+unsigned long
rb_num2ulong(VALUE val)
{
return rb_num2ulong_internal(val, NULL);