summaryrefslogtreecommitdiffstats
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
commit9033177cf4b87e1f0d5a4faddfa116e05d818a7a (patch)
tree239972797f1d798d6adb75a150fbfbd453d5751f /ext/sdbm
parent55c422151f16002dae7a0a899d93eb139c459f46 (diff)
downloadruby-9033177cf4b87e1f0d5a4faddfa116e05d818a7a.tar.gz
ruby-9033177cf4b87e1f0d5a4faddfa116e05d818a7a.tar.xz
ruby-9033177cf4b87e1f0d5a4faddfa116e05d818a7a.zip
* 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: http://svn.ruby-lang.org/repos/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 507fae69c..b3365ff42 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;
}