date_core.c: missing argument

* ext/date/date_core.c (d_lite_initialize): fix missing argument
  for write-barrier.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-06-15 06:26:51 +00:00
parent 4060211c96
commit 63be9ed5c0

View File

@ -4752,7 +4752,7 @@ d_lite_initialize(int argc, VALUE *argv, VALUE self)
rb_raise(rb_eArgError,
"cannot load complex into simple");
set_to_complex(&dat->c, nth, rjd, df, sf, of, sg,
set_to_complex(self, &dat->c, nth, rjd, df, sf, of, sg,
0, 0, 0, 0, 0, 0, HAVE_JD | HAVE_DF | COMPLEX_DAT);
}
}