summaryrefslogtreecommitdiff
path: root/ext/sdbm
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-10-29 06:16:01 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-10-29 06:16:01 +0000
commit864bc4f18beb189c07a22e605810bb8d6eef5645 (patch)
tree239972797f1d798d6adb75a150fbfbd453d5751f /ext/sdbm
parent88abd791f522c7097141753c3480a456340215f8 (diff)
* 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
Diffstat (limited to 'ext/sdbm')
-rw-r--r--ext/sdbm/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index 507fae6..b3365ff 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;
}