summaryrefslogtreecommitdiffstats
path: root/ext/nkf
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-27 03:04:22 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-27 03:04:22 +0000
commit383a881039b9084d7153f8b64b198a9d44a46e1c (patch)
tree22118a218131dd4c2b94b15779bf3168e356207a /ext/nkf
parent82940f8d3203e067a3b34667fa6c621b87df2cca (diff)
downloadruby-383a881039b9084d7153f8b64b198a9d44a46e1c.tar.gz
ruby-383a881039b9084d7153f8b64b198a9d44a46e1c.tar.xz
ruby-383a881039b9084d7153f8b64b198a9d44a46e1c.zip
* ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/nkf')
-rw-r--r--ext/nkf/nkf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/nkf/nkf.c b/ext/nkf/nkf.c
index d9db1de08..82327bf35 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));