From d4f82ba62a51c895ea61a57829c142fa9b5eb912 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Fri, 21 Jul 2017 08:41:21 +0000 Subject: [PATCH] Use %z format to avoid compiler warning. --- src/pcre2test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcre2test.c b/src/pcre2test.c index 5d1cbdc..3775772 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c @@ -5466,7 +5466,7 @@ if (pat_patctl.convert_type != CONVERT_UNSET) if (rc != 0) { - fprintf(outfile, "** Pattern conversion error at offset %lu: ", + fprintf(outfile, "** Pattern conversion error at offset %zu: ", converted_length); convert_return = print_error_message(rc, "", "\n")? PR_SKIP:PR_ABEND; }