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 | |
parent | 80467678ddedd41a37724ae6cba1e25f0242823a (diff) |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/nkf/nkf-utf8/nkf.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Apr 22 20:51:58 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char. + Tue Apr 22 19:23:05 2008 Akinori MUSHA <knu@iDaemons.org> * enumerator.c (enumerator_initialize): Remove an undocumented 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 */ |