diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-21 11:22:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-21 11:22:49 +0000 |
commit | bc3b4ddddd686e380c921c0f33213ddb61a2a0b4 (patch) | |
tree | 3ae2c13d7d0185a53a7e313427063b49134f636d | |
parent | 25df75e1195fe6c9d957ef8123096275ade04467 (diff) | |
download | ruby-bc3b4ddddd686e380c921c0f33213ddb61a2a0b4.tar.gz |
* hash.c (hash_foreach_iter): fix signature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | hash.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Feb 21 20:22:43 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * hash.c (hash_foreach_iter): fix signature. + Tue Feb 21 19:39:34 2012 Tanaka Akira <akr@fsij.org> * ext/curses/curses.c (Init_curses): use curses_version() for @@ -152,8 +152,9 @@ struct hash_foreach_arg { }; static int -hash_foreach_iter(st_data_t key, st_data_t value, struct hash_foreach_arg *arg) +hash_foreach_iter(st_data_t key, st_data_t value, st_data_t argp, int err) { + struct hash_foreach_arg *arg = (struct hash_foreach_arg *)argp; int status; st_table *tbl; |