Fix definition of macro HOP3 (spotted by a gcc warning)
Rafael Garcia-Suarez [Mon, 11 Sep 2006 10:19:20 +0000 (10:19 +0000)]
p4raw-id: //depot/perl@28818

regexec.c

index 49ea3ea..bfd81f8 100644 (file)
--- a/regexec.c
+++ b/regexec.c
                ? (U8*)pos - off                \
                : NULL)
 
-#define HOP3(pos,off,lim) (PL_reg_match_utf8 ? reghop3((U8*)pos, off, (U8*)lim) : (U8*)(pos + off))
+#define HOP3(pos,off,lim) (PL_reg_match_utf8 ? reghop3((U8*)(pos), off, (U8*)(lim)) : (U8*)(pos + off))
 #define HOP3c(pos,off,lim) ((char*)HOP3(pos,off,lim))
 
 #define LOAD_UTF8_CHARCLASS(class,str) STMT_START { \