diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-16 12:20:35 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-16 12:20:35 +0000 |
commit | c1dbcf9b7e463b3edbebfec5ab6f4ab4681bb6b7 (patch) | |
tree | 22509bd6f984622445049aea4662683b0b0cd09c /hash.c | |
parent | a334693422650c58d08c6098ca3ea0760713a314 (diff) |
* hash.c (each_pair_i_fast): Fix compile error with old version of
fcc on Solaris 10. [Bug #12768] [ruby-dev:49808]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1750,7 +1750,9 @@ each_pair_i(VALUE key, VALUE value) static int each_pair_i_fast(VALUE key, VALUE value) { - VALUE argv[2] = {key, value}; + VALUE argv[2]; + argv[0] = key; + argv[1] = value; rb_yield_values2(2, argv); return ST_CONTINUE; } |