diff --git a/ChangeLog b/ChangeLog index 714a0a3e3b..f2cc2ff780 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 27 12:02:53 2008 Kazuhiro NISHIYAMA + + * ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable. + Mon Oct 27 11:34:56 2008 Yuki Sonoda (Yugui) * test/minitest/test_mini_test.rb (test_filter_backtrace): diff --git a/ext/nkf/nkf.c b/ext/nkf/nkf.c index d9db1de086..82327bf356 100644 --- a/ext/nkf/nkf.c +++ b/ext/nkf/nkf.c @@ -135,7 +135,7 @@ int nkf_split_options(const char *arg) static VALUE rb_nkf_convert(VALUE obj, VALUE opt, VALUE src) { - volatile tmp; + volatile VALUE tmp; reinit(); StringValue(opt); nkf_split_options(RSTRING_PTR(opt));