aboutsummaryrefslogtreecommitdiffstats
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-20 01:22:50 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-20 01:22:50 +0000
commita9b0e34b97e872ab9eb4ff21e8a55a63ecfa2a88 (patch)
tree8116df2f91fd741c68237be8c7bdaf62cfd9fba6 /ext/date/date_core.c
parent80101267217aad1deb5c87c72840b8df15272008 (diff)
downloadruby-a9b0e34b97e872ab9eb4ff21e8a55a63ecfa2a88.tar.gz
* ext/date/date_core.c (wholenum): fix the type of the return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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))