diff options
-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; |