Mercurial > hg > dmlib
diff tests/fptest.c @ 866:49fc8d8a0b9c
Re-do some portability things.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Jan 2015 03:41:35 +0200 |
parents | b111cccf45fc |
children | 5e1d67f33dec |
line wrap: on
line diff
--- a/tests/fptest.c Mon Jan 05 23:10:49 2015 +0200 +++ b/tests/fptest.c Thu Jan 08 03:41:35 2015 +0200 @@ -39,9 +39,9 @@ "SDL byte order = %s (%d)\n\n", s, SDL_BYTEORDER); printf( - "sizeof(DMFixedPoint) = %zd bytes\n" - "sizeof(DMFixedPoint.dw) = %zd bytes (should be %d)\n" - "sizeof(DMFixedPoint.w[0]) = %zd bytes (should be %d)\n", + "sizeof(DMFixedPoint) = %" PRId64 " bytes\n" + "sizeof(DMFixedPoint.dw) = %" PRId64 " bytes (should be %d)\n" + "sizeof(DMFixedPoint.w[0]) = %" PRId64 " bytes (should be %d)\n", sizeof(a), sizeof(a.dw), FP_DW_SIZE, sizeof(a.w[0]), FP_W0_SIZE);