Revision: 656
http://www.exim.org/viewvc/pcre2?view=rev&revision=656
Author: ph10
Date: 2017-01-17 15:21:11 +0000 (Tue, 17 Jan 2017)
Log Message:
-----------
Fix warnings in 32-bit environments.
Modified Paths:
--------------
code/trunk/src/pcre2test.c
Modified: code/trunk/src/pcre2test.c
===================================================================
--- code/trunk/src/pcre2test.c 2017-01-16 17:40:47 UTC (rev 655)
+++ code/trunk/src/pcre2test.c 2017-01-17 15:21:11 UTC (rev 656)
@@ -4663,7 +4663,7 @@
if (d == 0)
{
fprintf(outfile, "** Missing closing quote in hex pattern: "
- "opening quote is at offset %lu.\n", pq - buffer - 2);
+ "opening quote is at offset %td.\n", pq - buffer - 2);
return PR_SKIP;
}
if (d == c) break;
@@ -4677,7 +4677,7 @@
{
if (!isxdigit(c))
{
- fprintf(outfile, "** Unexpected non-hex-digit '%c' at offset %lu "
+ fprintf(outfile, "** Unexpected non-hex-digit '%c' at offset %td "
"in hex pattern: quote missing?\n", c, pp - buffer - 2);
return PR_SKIP;
}
@@ -4689,7 +4689,7 @@
d = *pp;
if (!isxdigit(d))
{
- fprintf(outfile, "** Unexpected non-hex-digit '%c' at offset %lu "
+ fprintf(outfile, "** Unexpected non-hex-digit '%c' at offset %td "
"in hex pattern: quote missing?\n", d, pp - buffer - 1);
return PR_SKIP;
}