From 55214000e187c983189d2f60de6864e8ec65be0f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Sep 2009 09:57:32 +0000 Subject: [PATCH] Fixed bug #705 Sami N 2009-02-21 11:15:39 PST Patches two tests that had broken format strings in their *printf()'s. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403904 --- test/automated/platform/platform.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/automated/platform/platform.c b/test/automated/platform/platform.c index a18cee2fe..ceb88537b 100644 --- a/test/automated/platform/platform.c +++ b/test/automated/platform/platform.c @@ -47,20 +47,20 @@ static void plat_testTypes (void) SDL_ATbegin( "Type size" ); ret = plat_testSize( sizeof(Uint8), 1 ); - if (SDL_ATvassert( ret == 0, "sizeof(Uint8) = %ul instead of 1", sizeof(Uint8) )) + if (SDL_ATvassert( ret == 0, "sizeof(Uint8) = %lu instead of 1", sizeof(Uint8) )) return; ret = plat_testSize( sizeof(Uint16), 2 ); - if (SDL_ATvassert( ret == 0, "sizeof(Uint16) = %ul instead of 2", sizeof(Uint16) )) + if (SDL_ATvassert( ret == 0, "sizeof(Uint16) = %lu instead of 2", sizeof(Uint16) )) return; ret = plat_testSize( sizeof(Uint32), 4 ); - if (SDL_ATvassert( ret == 0, "sizeof(Uint32) = %ul instead of 4", sizeof(Uint32) )) + if (SDL_ATvassert( ret == 0, "sizeof(Uint32) = %lu instead of 4", sizeof(Uint32) )) return; #ifdef SDL_HAS_64BIT_TYPE ret = plat_testSize( sizeof(Uint64), 8 ); - if (SDL_ATvassert( ret == 0, "sizeof(Uint64) = %ul instead of 8", sizeof(Uint64) )) + if (SDL_ATvassert( ret == 0, "sizeof(Uint64) = %lu instead of 8", sizeof(Uint64) )) return; #endif /* SDL_HAS_64BIT_TYPE */