Avoid PRId32 for the sake of Windows. For the time being, Charmonizer knows about PRId64 but not PRId32.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/6c167aa5 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/6c167aa5 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/6c167aa5 Branch: refs/heads/master Commit: 6c167aa5acc6f2a680184c7bd823500fbce1f0eb Parents: 7876b13 Author: Marvin Humphrey <[email protected]> Authored: Thu Apr 21 14:02:32 2016 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Thu Apr 21 14:02:32 2016 -0700 ---------------------------------------------------------------------- core/Lucy/Test/Store/TestIOPrimitives.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/6c167aa5/core/Lucy/Test/Store/TestIOPrimitives.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Test/Store/TestIOPrimitives.c b/core/Lucy/Test/Store/TestIOPrimitives.c index 8d0f76f..9b78e82 100644 --- a/core/Lucy/Test/Store/TestIOPrimitives.c +++ b/core/Lucy/Test/Store/TestIOPrimitives.c @@ -265,8 +265,8 @@ test_ci32(TestBatchRunner *runner) { for (i = 0; i < 1000; i++) { int32_t got = InStream_Read_CI32(instream); if ((int64_t)got != ints[i]) { - FAIL(runner, "ci32 round trip failed: %" PRId32 ", %" PRId64, - got, ints[i]); + FAIL(runner, "ci32 round trip failed: %" PRId64 ", %" PRId64, + (int64_t)got, ints[i]); break; } }
