diff options
Diffstat (limited to 'ext/date/date_core.c')
-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, |