Mercurial > hg > dmlib
diff tests/fptest.c @ 1147:5e1d67f33dec
Use DM_PRI* format specifiers here.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Mar 2015 02:37:33 +0200 |
parents | 49fc8d8a0b9c |
children | a9516570cc26 |
line wrap: on
line diff
--- a/tests/fptest.c Thu Mar 05 02:37:23 2015 +0200 +++ b/tests/fptest.c Thu Mar 05 02:37:33 2015 +0200 @@ -39,9 +39,9 @@ "SDL byte order = %s (%d)\n\n", s, SDL_BYTEORDER); printf( - "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(DMFixedPoint) = %" DM_PRId64 " bytes\n" + "sizeof(DMFixedPoint.dw) = %" DM_PRId64 " bytes (should be %d)\n" + "sizeof(DMFixedPoint.w[0]) = %" DM_PRId64 " bytes (should be %d)\n", sizeof(a), sizeof(a.dw), FP_DW_SIZE, sizeof(a.w[0]), FP_W0_SIZE);