From 489e05fcc9008e993cbbbc455b1d9be16974c163 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 7 Mar 2011 00:05:35 +0000 Subject: * 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 --- string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 19472d991f..798e108d42 100644 --- a/string.c +++ b/string.c @@ -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); -- cgit v1.2.3