summaryrefslogtreecommitdiffstats
path: root/marshal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-30 07:24:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-30 07:24:11 +0000
commitfcb582817a890aaa6e5a88f547f991c099cc6fc3 (patch)
tree8200aa130e51f925cb5904dc344e5fbb853ad911 /marshal.c
parent153de91b876aa7faadd13e896e90389b0eee4c82 (diff)
downloadruby-fcb582817a890aaa6e5a88f547f991c099cc6fc3.tar.gz
ruby-fcb582817a890aaa6e5a88f547f991c099cc6fc3.tar.xz
ruby-fcb582817a890aaa6e5a88f547f991c099cc6fc3.zip
* marshal.c (w_object): marshal_dump should not take any
argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index 14adf825c..eeed643d7 100644
--- a/marshal.c
+++ b/marshal.c
@@ -483,7 +483,7 @@ w_object(obj, arg, limit)
if (rb_respond_to(obj, s_mdump)) {
VALUE v;
- v = rb_funcall(obj, s_mdump, 1, INT2NUM(limit));
+ v = rb_funcall(obj, s_mdump, 0, 0);
w_class(TYPE_USRMARSHAL, obj, arg);
w_object(v, arg, limit);
if (ivtbl) w_ivar(ivtbl, &c_arg);