diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-09 07:31:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-09 07:31:42 +0000 |
commit | d299250afa2c559db3f7ef6ba777ccb1b795c00d (patch) | |
tree | c01d67f2dcb8855885615e2223d6e191e6572219 /parse.y | |
parent | 92a04a491505e6e72630d10cdc952903e811d270 (diff) | |
download | ruby-d299250afa2c559db3f7ef6ba777ccb1b795c00d.tar.gz |
parse.y: adjust argument types
* parse.y (symbols_i): adjust argument types for st_foreach()
using st_data_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10903,9 +10903,10 @@ rb_make_internal_id(void) } static int -symbols_i(VALUE key, ID value, VALUE ary) +symbols_i(st_data_t key, st_data_t value, st_data_t arg) { - VALUE sym = ID2SYM(value); + VALUE ary = (VALUE)arg; + VALUE sym = ID2SYM((ID)value); if (DYNAMIC_SYM_P(sym) && !SYMBOL_PINNED_P(sym) && rb_objspace_garbage_object_p(sym)) { st_data_t sym_data = (st_data_t)sym; |