This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1182767
)
Fix definition of macro HOP3 (spotted by a gcc warning)
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 11 Sep 2006 10:19:20 +0000
(10:19 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 11 Sep 2006 10:19:20 +0000
(10:19 +0000)
p4raw-id: //depot/perl@28818
regexec.c
patch
|
blob
|
blame
|
history
diff --git
a/regexec.c
b/regexec.c
index
49ea3ea
..
bfd81f8
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-109,7
+109,7
@@
? (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 { \