summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-05-03 23:51:34 +0100
committerDavid Mitchell <davem@iabyn.com>2010-05-03 23:51:34 +0100
commitd9a396a3ae9f39aac2f1747225a595665786dffc (patch)
treeab632ab1aa3eb4c4cd40e12ad76d6b5efc0f167a /regexec.c
parent82a9e1e9d8918630147f4283a3a1a2c906569bb3 (diff)
downloadperl-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regexec.c b/regexec.c
index 4aa68efde0..40f66a8656 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) {