diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 12:20:36 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 12:20:36 +0000 |
commit | 0beaddc4e23a381e056bd637f5abb87d3c283f96 (patch) | |
tree | d5d8dad37c4ddca215ba685244b1fe9de123e648 /ext/nkf/nkf.c | |
parent | 17123b2958563b5a1563e3264f806c8faebc9904 (diff) | |
download | ruby-0beaddc4e23a381e056bd637f5abb87d3c283f96.tar.gz |
* ext/nkf/nkf-utf8/nkf.c (score_table_A0, score_table_F0):
type of content is unsigned char.
* ext/nkf/nkf-utf8/nkf.c (push_broken_buf): 'c' is nkf_char.
* ext/nkf/nkf-utf8/nkf.c (push_broken_buf): enc is 0 or pointer.
* ext/nkf//nkf.c (options): type of option is unsigned char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/nkf/nkf.c')
-rw-r--r-- | ext/nkf/nkf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/nkf/nkf.c b/ext/nkf/nkf.c index ba8ffc978f..c11a042c57 100644 --- a/ext/nkf/nkf.c +++ b/ext/nkf/nkf.c @@ -80,7 +80,7 @@ rb_encoding* rb_nkf_enc_get(const char *name) int nkf_split_options(const char *arg) { int count = 0; - char option[256]; + unsigned char option[256]; int i = 0, j = 0; int is_escaped = FALSE; int is_single_quoted = FALSE; |