From 864bc4f18beb189c07a22e605810bb8d6eef5645 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 29 Oct 2001 06:16:01 +0000 Subject: * intern.h (rb_protect_inspect): follow the change of array.c. * eval.c (rb_exec_end_proc): follow the change of rb_protect(). * eval.c (method_proc, umethod_proc, rb_catch): cast the first parameter of rb_iterate() to avoid VC++ warning. * range.c (range_step): ditto. * ext/sdbm/init.c (fsdbm_update, fsdbm_replace): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/sdbm/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/sdbm') diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c index 507fae69c1..b3365ff429 100644 --- a/ext/sdbm/init.c +++ b/ext/sdbm/init.c @@ -381,7 +381,7 @@ static VALUE fsdbm_update(obj, other) VALUE obj, other; { - rb_iterate(each_pair, other, update_i, obj); + rb_iterate((VALUE(*)_((VALUE)))each_pair, other, update_i, obj); return obj; } @@ -390,7 +390,7 @@ fsdbm_replace(obj, other) VALUE obj, other; { fsdbm_clear(obj); - rb_iterate(each_pair, other, update_i, obj); + rb_iterate((VALUE(*)_((VALUE)))each_pair, other, update_i, obj); return obj; } -- cgit v1.2.3