summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-30 22:40:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-30 22:40:54 +0000
commit4b3a1f77e14696780265f4c05bfa01a5216f8f99 (patch)
tree8c9abaa64e4ba0cb19207e3341001b54681e5233 /object.c
parentdb5ede2236ab49aaf6fca49ecbef7594eed97e8a (diff)
* hash.c, marshal.c, object.c, variable.c: fix callback argument types
of iterators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/object.c b/object.c
index 63af8a2f90..d43095d8c3 100644
--- a/object.c
+++ b/object.c
@@ -400,8 +400,11 @@ rb_inspect(VALUE obj)
}
static int
-inspect_i(ID id, VALUE value, VALUE str)
+inspect_i(st_data_t k, st_data_t v, st_data_t a)
{
+ ID id = (ID)k;
+ VALUE value = (VALUE)v;
+ VALUE str = (VALUE)a;
VALUE str2;
const char *ivname;