diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-12-17 17:15:19 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-12-17 17:15:19 +0000 |
commit | 9f663b990467cfd5f173147c3b648cf195f606bd (patch) | |
tree | 5a4759a16ca2d1eeea7de3eb36133cd48579a4d7 /src | |
parent | e61a81509b63c2f19c80835abe575a480a4bb21f (diff) | |
download | pcre2-9f663b990467cfd5f173147c3b648cf195f606bd.tar.gz |
Cast needed for 32-bit environments.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@470 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src')
-rw-r--r-- | src/pcre2test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcre2test.c b/src/pcre2test.c index 93819f7..4f17a43 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c @@ -6036,13 +6036,13 @@ if (dat_datctl.replacement[0] != 0) PCRE2_SIZE msize; fprintf(outfile, "Failed: error %d", rc); if (rc != PCRE2_ERROR_NOMEMORY && nsize != PCRE2_UNSET) - fprintf(outfile, " at offset %ld in replacement", nsize); + fprintf(outfile, " at offset %ld in replacement", (long int)nsize); fprintf(outfile, ": "); PCRE2_GET_ERROR_MESSAGE(msize, rc, pbuffer); PCHARSV(CASTVAR(void *, pbuffer), 0, msize, FALSE, outfile); if (rc == PCRE2_ERROR_NOMEMORY && (xoptions & PCRE2_SUBSTITUTE_OVERFLOW_LENGTH) != 0) - fprintf(outfile, ": %ld code units are needed", nsize); + fprintf(outfile, ": %ld code units are needed", (long int)nsize); } else { |