diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/nkf/nkf.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Oct 27 12:02:53 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> + + * ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable. + Mon Oct 27 11:34:56 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp> * 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)); |