Silence another VC++ compiler warning (signed/unsigned mismatch in ==)
Steve Hay [Tue, 5 Jun 2007 12:51:07 +0000 (12:51 +0000)]
p4raw-id: //depot/perl@31335

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;