Fixed bug #705
authorSam Lantinga <slouken@libsdl.org>
Sat, 26 Sep 2009 09:56:26 +0000
changeset 3312 c91cb3f0204e
parent 3311 0679e03ef8fa
child 3313 50848072885e
Fixed bug #705 Sami N 2009-02-21 11:15:39 PST Patches two tests that had broken format strings in their *printf()'s.
test/testplatform.c
--- a/test/testplatform.c	Sat Sep 26 09:44:52 2009 +0000
+++ b/test/testplatform.c	Sat Sep 26 09:56:26 2009 +0000
@@ -23,23 +23,23 @@
 
     if (badsize(sizeof(Uint8), 1)) {
         if (verbose)
-            printf("sizeof(Uint8) != 1, instead = %ul\n", sizeof(Uint8));
+            printf("sizeof(Uint8) != 1, instead = %lu\n", sizeof(Uint8));
         ++error;
     }
     if (badsize(sizeof(Uint16), 2)) {
         if (verbose)
-            printf("sizeof(Uint16) != 2, instead = %ul\n", sizeof(Uint16));
+            printf("sizeof(Uint16) != 2, instead = %lu\n", sizeof(Uint16));
         ++error;
     }
     if (badsize(sizeof(Uint32), 4)) {
         if (verbose)
-            printf("sizeof(Uint32) != 4, instead = %ul\n", sizeof(Uint32));
+            printf("sizeof(Uint32) != 4, instead = %lu\n", sizeof(Uint32));
         ++error;
     }
 #ifdef SDL_HAS_64BIT_TYPE
     if (badsize(sizeof(Uint64), 8)) {
         if (verbose)
-            printf("sizeof(Uint64) != 8, instead = %ul\n", sizeof(Uint64));
+            printf("sizeof(Uint64) != 8, instead = %lu\n", sizeof(Uint64));
         ++error;
     }
 #else