fix format string warnings in regcomp.c
authorTony Cook <tony@develop-help.com>
Sun, 15 Dec 2013 22:35:00 +0000 (09:35 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 15 Dec 2013 22:35:00 +0000 (09:35 +1100)
regcomp.c

index 8123614..9727900 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -3405,7 +3405,8 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
         DEBUG_OPTIMISE_MORE_r(
         {
             PerlIO_printf(Perl_debug_log,"%*sstudy_chunk stopparen=%ld depth=%lu recursed_depth=%lu ",
-                ((int) depth*2), "", stopparen, depth, recursed_depth);
+                          ((int) depth*2), "", (long)stopparen,
+                          (unsigned long)depth, (unsigned long)recursed_depth);
             if (recursed_depth) {
                 U32 i;
                 U32 j;