diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-07 00:05:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-07 00:05:35 +0000 |
commit | 489e05fcc9008e993cbbbc455b1d9be16974c163 (patch) | |
tree | 5fb00841351dbbc9e78fd59e2e8c8ff4dcd61076 /string.c | |
parent | bb9a05528d8de071a1221386c32e108a6be401fc (diff) | |
download | ruby-489e05fcc9008e993cbbbc455b1d9be16974c163.tar.gz |
* string.c (tr_trans): suppress signedness/unsignedness warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4976,8 +4976,8 @@ tr_trans(VALUE str, VALUE src, VALUE repl, int sflag) rb_encoding *enc, *e1, *e2; struct tr trsrc, trrepl; int cflag = 0; - unsigned int c, c0; - int last = 0, modify = 0, i, l; + unsigned int c, c0, last = 0; + int modify = 0, i, l; char *s, *send; VALUE hash = 0; int singlebyte = single_byte_optimizable(str); |