From cfa202c1f56f34290164e6fd2a3d4eb8845bda79 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 23 Aug 2011 03:12:27 -0400 Subject: [PATCH] Fixed another printf() compiler warning, this time in the 1.3 branch. --- test/testplatform.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/testplatform.c b/test/testplatform.c index 6cd502658..5317b56f9 100644 --- a/test/testplatform.c +++ b/test/testplatform.c @@ -123,8 +123,9 @@ TestEndian(SDL_bool verbose) printf("Value 64 = 0x%I64X, swapped = 0x%I64X\n", value64, SDL_Swap64(value64)); #else - printf("Value 64 = 0x%llX, swapped = 0x%llX\n", value64, - SDL_Swap64(value64)); + printf("Value 64 = 0x%llX, swapped = 0x%llX\n", + (unsigned long long) value64, + (unsigned long long) SDL_Swap64(value64)); #endif } if (SDL_Swap64(value64) != swapped64) {