ruby-changes:19865
From: usa <ko1@a...>
Date: Fri, 3 Jun 2011 20:59:36 +0900 (JST)
Subject: [ruby-changes:19865] usa:r31912 (trunk): * ext/date/date_core.c (d_lite_plus): get rid of compiler warnings.
usa 2011-06-03 20:59:30 +0900 (Fri, 03 Jun 2011) New Revision: 31912 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31912 Log: * ext/date/date_core.c (d_lite_plus): get rid of compiler warnings. Modified files: trunk/ChangeLog trunk/ext/date/date_core.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31911) +++ ChangeLog (revision 31912) @@ -1,3 +1,7 @@ +Fri Jun 3 20:58:47 2011 NAKAMURA Usaku <usa@r...> + + * ext/date/date_core.c (d_lite_plus): get rid of compiler warnings. + Fri Jun 3 20:56:40 2011 NAKAMURA Usaku <usa@r...> * include/ruby/missing.h, numeric.c (round): moved prototype of round() @@ -2,3 +6,3 @@ from numeric.c to missing.h. (note: round() is C99 feature, so ruby - provides it if not exists in C runtime.) + provides it if not exist in C runtime.) Index: ext/date/date_core.c =================================================================== --- ext/date/date_core.c (revision 31911) +++ ext/date/date_core.c (revision 31912) @@ -5128,7 +5128,7 @@ if (!df && f_zero_p(sf) && !m_of(dat)) return d_simple_new_internal(CLASS_OF(self), - nth, jd, + nth, (int)jd, m_sg(dat), 0, 0, 0, (dat->s.flags | HAVE_JD) & @@ -5136,7 +5136,7 @@ COMPLEX_DAT)); else return d_complex_new_internal(CLASS_OF(self), - nth, jd, + nth, (int)jd, df, sf, m_of(dat), m_sg(dat), 0, 0, 0, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/