summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/date_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index aa7958bdd2..44dbf4fbcf 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -7613,7 +7613,7 @@ d_lite_marshal_load(VALUE self, VALUE a)
HAVE_JD | HAVE_DF);
}
- rb_copy_generic_ivar(a, self);
+ rb_copy_generic_ivar(self, a);
return self;
}