ruby-changes:19005
From: nobu <ko1@a...>
Date: Mon, 7 Mar 2011 09:20:43 +0900 (JST)
Subject: [ruby-changes:19005] Ruby:r31041 (trunk): * string.c (tr_trans): suppress signedness/unsignedness warnings.
nobu 2011-03-07 09:05:35 +0900 (Mon, 07 Mar 2011) New Revision: 31041 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31041 Log: * string.c (tr_trans): suppress signedness/unsignedness warnings. Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 31040) +++ string.c (revision 31041) @@ -4976,8 +4976,8 @@ 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/