diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 11:54:50 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 11:54:50 +0000 |
commit | 17123b2958563b5a1563e3264f806c8faebc9904 (patch) | |
tree | 74e712ffb4127ed8c0907ff131f2b2e3ae07e8cd /ext/nkf | |
parent | 80467678ddedd41a37724ae6cba1e25f0242823a (diff) | |
download | ruby-17123b2958563b5a1563e3264f806c8faebc9904.tar.gz |
* ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/nkf')
-rw-r--r-- | ext/nkf/nkf-utf8/nkf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/nkf/nkf-utf8/nkf.c b/ext/nkf/nkf-utf8/nkf.c index a711938df4..084b2c469f 100644 --- a/ext/nkf/nkf-utf8/nkf.c +++ b/ext/nkf/nkf-utf8/nkf.c @@ -3390,7 +3390,7 @@ void z_conv(nkf_char c2, nkf_char c1) if (alpha_f & 16) { /* JIS X 0208 Katakana to JIS X 0201 Katakana */ if (c2 == 0x21) { - char c = 0; + nkf_char c = 0; switch (c1) { case 0x23: /* U+3002 (0x8142) Ideographic Full Stop -> U+FF61 (0xA1) Halfwidth Ideographic Full Stop */ |