diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-29 03:19:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-29 03:19:00 +0000 |
commit | 69099d3e69cda873114981b131bc45b1490bcbf7 (patch) | |
tree | 9faf7b09a3c7b6b69ee25b4ca9606cad90855cac | |
parent | 167358d00091069aac5874b38d04ef9ae20e1828 (diff) | |
download | ruby-69099d3e69cda873114981b131bc45b1490bcbf7.tar.gz |
* re.c (rb_reg_mbclen2): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | re.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -379,7 +379,7 @@ kcode_reset_option(void) int rb_reg_mbclen2(unsigned int c, VALUE re) { - unsigned char uc = (unsigned char)c; + char uc = (unsigned char)c; return rb_enc_mbclen(&uc, rb_enc_get(re)); } |