From 4e0b83e95b0720042805fd0cc885c554f821ccfa Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 27 Oct 2008 03:04:22 +0000 Subject: [PATCH] * ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/nkf/nkf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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));