From: David Mitchell Date: Mon, 3 May 2010 22:51:34 +0000 (+0100) Subject: fix a couple of var types X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d9a396a3ae9f39aac2f1747225a595665786dffc;p=p5sagit%2Fp5-mst-13.2.git fix a couple of var types these errors were introduced in my trie-allocation patch, 2e64971a6530d2645969bc489f564bfd3ce64993 --- diff --git a/regexec.c b/regexec.c index 4aa68ef..40f66a8 100644 --- a/regexec.c +++ b/regexec.c @@ -3271,8 +3271,8 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog) { /* Find next-highest word to process. Note that this code * is O(N^2) per trie run (O(N) per branch), so keep tight */ - register U32 min = 0; - register U32 word; + register U16 min = 0; + register U16 word; register U16 const nextword = ST.nextword; register reg_trie_wordinfo * const wordinfo = ((reg_trie_data*)rexi->data->data[ARG(ST.me)])->wordinfo; @@ -3312,7 +3312,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog) U8 foldbuf[UTF8_MAXBYTES_CASE + 1]; STRLEN foldlen; STRLEN len; - U8 uvc; + UV uvc; U8 *uscan; while (chars) {