diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-03 11:59:30 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-03 11:59:30 +0000 |
commit | 7bc3e95205b1711c0896f48bd0dbe60645061c26 (patch) | |
tree | 82ad1405b7a01043a23f1cc0c5b01b32590a55fd /ext | |
parent | 799fafc03b2a654de82d4bd0375dce5537edb88c (diff) | |
download | ruby-7bc3e95205b1711c0896f48bd0dbe60645061c26.tar.gz |
* ext/date/date_core.c (d_lite_plus): get rid of compiler warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index d01086e7ea..aafc6aac8a 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -5128,7 +5128,7 @@ d_lite_plus(VALUE self, VALUE other) 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 @@ d_lite_plus(VALUE self, VALUE other) 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, |