Fix build warnings introduced by v5.13.0-139-ge0fa7e2
Jerry D. Hedden [Fri, 7 May 2010 16:14:05 +0000 (12:14 -0400)]
regexec.c

index 40f66a8..8c68639 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -316,7 +316,8 @@ S_regcppush(pTHX_ I32 parenfloor)
 
     if ((elems_shifted >> SAVE_TIGHT_SHIFT) != total_elems)
        Perl_croak(aTHX_ "panic: paren_elems_to_push offset %"UVuf
-                  " out of range (%d-%d)", total_elems, PL_regsize, parenfloor);
+                  " out of range (%lu-%ld)",
+                  total_elems, (unsigned long)PL_regsize, (long)parenfloor);
 
     SSGROW(total_elems + REGCP_FRAME_ELEMS);