summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2006-11-08 15:29:47 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-11-09 12:32:41 +0000
commit3b6647e0b98cc06c53e0b12e71e4f27d9d9b5c06 (patch)
tree229998afedc510c6d5cc2709653e615704f7a936 /regexp.h
parent6d99fb9ba0d3f5a4dce25918bb0a33b8815bebfd (diff)
downloadperl-3b6647e0b98cc06c53e0b12e71e4f27d9d9b5c06.tar.gz
***speculative*** was RE: [PATCH] regexec.c - silence compiler warning
From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120AA6@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@29241
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/regexp.h b/regexp.h
index 9b3ce7993a..f74f2af05b 100644
--- a/regexp.h
+++ b/regexp.h
@@ -277,7 +277,7 @@ typedef struct regmatch_state {
} whilem;
struct {
- I32 lastparen;
+ U32 lastparen;
regnode *next_branch; /* next branch node */
CHECKPOINT cp;
} branch;
@@ -295,7 +295,7 @@ typedef struct regmatch_state {
} curlym;
struct {
- I32 paren;
+ U32 paren;
CHECKPOINT cp;
I32 c1, c2; /* case fold search */
char *maxpos; /* highest possible point in string to match */
@@ -384,7 +384,7 @@ struct re_save_state {
I32 re_state_reg_leftiter; /* wait until caching pos */
char *re_state_reg_poscache; /* cache of pos of WHILEM */
STRLEN re_state_reg_poscache_size; /* size of pos cache of WHILEM */
- I32 re_state_regsize; /* from regexec.c */
+ U32 re_state_regsize; /* from regexec.c */
char *re_state_reg_starttry; /* from regexec.c */
#ifdef PERL_OLD_COPY_ON_WRITE
SV *re_state_nrs; /* was placeholder: unused since 5.8.0 (5.7.2 patch #12027 for bug ID 20010815.012). Used to save rx->saved_copy */