Signedness nit.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 29 Dec 2000 06:35:23 +0000 (06:35 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 29 Dec 2000 06:35:23 +0000 (06:35 +0000)
p4raw-id: //depot/perl@8247

pp_hot.c

index d02f57e..c7555c4 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1856,7 +1856,7 @@ PP(pp_subst)
        DIE(aTHX_ "panic: pp_subst");
 
     strend = s + len;
-    slen = do_utf8 ? utf8_length(s, strend) : len;
+    slen = do_utf8 ? utf8_length((U8*)s, (U8*)strend) : len;
     maxiters = 2 * slen + 10;  /* We can match twice at each
                                   position, once with zero-length,
                                   second time with non-zero. */