aboutsummaryrefslogtreecommitdiffstats
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/date_core.c')
-rw-r--r--ext/date/date_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 98c05b810d..49e125c3dd 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -3095,7 +3095,7 @@ wholenum_p(VALUE x)
return 0;
}
-inline static int
+inline static VALUE
wholenum(VALUE x)
{
if (FIXNUM_P(x))