[前][次][番号順一覧][スレッド一覧]

ruby-changes:22026

From: naruse <ko1@a...>
Date: Tue, 20 Dec 2011 10:23:03 +0900 (JST)
Subject: [ruby-changes:22026] naruse:r34075 (trunk): * ext/date/date_core.c (wholenum): fix the type of the return value.

naruse	2011-12-20 10:22:50 +0900 (Tue, 20 Dec 2011)

  New Revision: 34075

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34075

  Log:
    * ext/date/date_core.c (wholenum): fix the type of the return value.

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/date_core.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34074)
+++ ChangeLog	(revision 34075)
@@ -1,3 +1,7 @@
+Tue Dec 20 10:20:48 2011  NARUSE, Yui  <naruse@r...>
+
+	* ext/date/date_core.c (wholenum): fix the type of the return value.
+
 Tue Dec 20 05:03:24 2011  Eric Hodel  <drbrain@s...>
 
 	* README.ja:  Update redmine.ruby-lang.org to bugs.ruby-lang.org
Index: ext/date/date_core.c
===================================================================
--- ext/date/date_core.c	(revision 34074)
+++ ext/date/date_core.c	(revision 34075)
@@ -3095,7 +3095,7 @@
     return 0;
 }
 
-inline static int
+inline static VALUE
 wholenum(VALUE x)
 {
     if (FIXNUM_P(x))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]