Fixed another printf() compiler warning, this time in the 1.3 branch.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 23 Aug 2011 03:12:27 -0400
changeset 5638 198383360618
parent 5636 44bfdab5eaf1
child 5640 04b5b11985c8
Fixed another printf() compiler warning, this time in the 1.3 branch.
test/testplatform.c
--- a/test/testplatform.c	Mon Aug 22 14:56:46 2011 -0400
+++ b/test/testplatform.c	Tue Aug 23 03:12:27 2011 -0400
@@ -123,8 +123,9 @@
         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) {