diff options
author | David Mitchell <davem@iabyn.com> | 2010-05-03 23:51:34 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-05-03 23:51:34 +0100 |
commit | d9a396a3ae9f39aac2f1747225a595665786dffc (patch) | |
tree | ab632ab1aa3eb4c4cd40e12ad76d6b5efc0f167a /regexec.c | |
parent | 82a9e1e9d8918630147f4283a3a1a2c906569bb3 (diff) | |
download | perl-d9a396a3ae9f39aac2f1747225a595665786dffc.tar.gz |
fix a couple of var types
these errors were introduced in my trie-allocation patch,
2e64971a6530d2645969bc489f564bfd3ce64993
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |