projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c02634
)
Silence another VC++ compiler warning (signed/unsigned mismatch in ==)
author
Steve Hay
<SteveHay@planit.com>
Tue, 5 Jun 2007 12:51:07 +0000
(12:51 +0000)
committer
Steve Hay
<SteveHay@planit.com>
Tue, 5 Jun 2007 12:51:07 +0000
(12:51 +0000)
p4raw-id: //depot/perl@31335
regexec.c
patch
|
blob
|
history
diff --git
a/regexec.c
b/regexec.c
index
c6dbcc0
..
a5f6bb5
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-5006,7
+5006,7
@@
NULL
#undef ST
case FOLDCHAR:
n = ARG(scan);
- if ( n == what_len_TRICKYFOLD(locinput,do_utf8,ln) ) {
+ if ( n ==
(U32)
what_len_TRICKYFOLD(locinput,do_utf8,ln) ) {
locinput += ln;
} else if ( 0xDF == n && !do_utf8 && !UTF ) {
sayNO;