From: Rafael Garcia-Suarez Date: Wed, 8 Nov 2006 13:27:14 +0000 (+0000) Subject: Type change to avoid signed/unsigned compiler warnings X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=438e9bae713cc15cfa264da285aebdfaf57ad92e;p=p5sagit%2Fp5-mst-13.2.git Type change to avoid signed/unsigned compiler warnings (thanks to Robin Barker) p4raw-id: //depot/perl@29232 --- diff --git a/regexec.c b/regexec.c index 8e0aabd..8597be3 100644 --- a/regexec.c +++ b/regexec.c @@ -2561,7 +2561,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog) /* cache heavy used fields of st in registers */ register regnode *scan; register regnode *next; - register I32 n = 0; /* general value; init to avoid compiler warning */ + register U32 n = 0; /* general value; init to avoid compiler warning */ register I32 ln = 0; /* len or last; init to avoid compiler warning */ register char *locinput = PL_reginput; register I32 nextchr; /* is always set to UCHARAT(locinput) */