diff --git a/ChangeLog b/ChangeLog index c66417b3bc..b180578d7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Sep 30 00:55:40 2007 NAKAMURA Usaku + + * variable.c (obj_ivar_each): get rid of warning. + Sat Sep 29 17:45:22 2007 Nobuyoshi Nakada * main.c (main): use platform-independent per-process initialization. diff --git a/variable.c b/variable.c index 16859c2cab..5f15fbc74d 100644 --- a/variable.c +++ b/variable.c @@ -1093,7 +1093,7 @@ obj_ivar_each(VALUE obj, int (*func)(ANYARGS), st_data_t arg) return; data.obj = obj; - data.func = func; + data.func = (int (*)(ID key, VALUE val, st_data_t arg))func; data.arg = arg; st_foreach_safe(tbl, obj_ivar_i, (st_data_t)&data); diff --git a/version.h b/version.h index d1a0b7948e..f4299ce60d 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-09-29" +#define RUBY_RELEASE_DATE "2007-09-30" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070929 +#define RUBY_RELEASE_CODE 20070930 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 9 -#define RUBY_RELEASE_DAY 29 +#define RUBY_RELEASE_DAY 30 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[];