summaryrefslogtreecommitdiff
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
commitd468497778d85703900bc8a91e8a0c85350ec6c1 (patch)
tree8200aa130e51f925cb5904dc344e5fbb853ad911 /marshal.c
parent8b97353bf26e29070ff53464278d4733ca47beb1 (diff)
* marshal.c (w_object): marshal_dump should not take any
argument. git-svn-id: svn+ssh://ci.ruby-lang.org/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 14adf82..eeed643 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);