diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-12 12:09:22 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-12 12:09:22 +0000 |
commit | 1afbc783d4c1b4c21c6dca9e39978a1259f74500 (patch) | |
tree | 4cefa4ce6685a3f758bbcb91365df550404ebfc5 /ext/date | |
parent | ef9fe8219c7a95a05c2ccd4fd8551208657aa16e (diff) | |
download | ruby-1afbc783d4c1b4c21c6dca9e39978a1259f74500.tar.gz |
* ext/date/date_core.c (d_lite_marshal_load): should give converted value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/date_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index 93cbadedb1..6656e9b88d 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -7079,7 +7079,7 @@ d_lite_marshal_load(VALUE self, VALUE a) &nth, &jd, &df, &sf, &rof, &rsg); if (!df && f_zero_p(sf) && !rof) { - set_to_simple(&dat->s, nth, jd, sg, 0, 0, 0, HAVE_JD); + set_to_simple(&dat->s, nth, jd, rsg, 0, 0, 0, HAVE_JD); } else { if (!complex_dat_p(dat)) rb_raise(rb_eArgError, |