summaryrefslogtreecommitdiff
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
commit4e0b83e95b0720042805fd0cc885c554f821ccfa (patch)
tree22118a218131dd4c2b94b15779bf3168e356207a /ext/nkf
parentafea4a499510483975b88491af51ed8674261489 (diff)
* 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
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 d9db1de..82327bf 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));