From 563b3712f8912631f356f5a178c0b9ef6f9f62ff Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 21 Jan 2010 05:49:41 +0000 Subject: [PATCH] Fixed compiler warnings on 32-bit Linux --- test/testplatform.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/testplatform.c b/test/testplatform.c index c334db028..c3561f8f6 100644 --- a/test/testplatform.c +++ b/test/testplatform.c @@ -24,23 +24,23 @@ TestTypes(SDL_bool verbose) if (badsize(sizeof(Uint8), 1)) { if (verbose) - printf("sizeof(Uint8) != 1, instead = %lu\n", sizeof(Uint8)); + printf("sizeof(Uint8) != 1, instead = %u\n", sizeof(Uint8)); ++error; } if (badsize(sizeof(Uint16), 2)) { if (verbose) - printf("sizeof(Uint16) != 2, instead = %lu\n", sizeof(Uint16)); + printf("sizeof(Uint16) != 2, instead = %u\n", sizeof(Uint16)); ++error; } if (badsize(sizeof(Uint32), 4)) { if (verbose) - printf("sizeof(Uint32) != 4, instead = %lu\n", sizeof(Uint32)); + printf("sizeof(Uint32) != 4, instead = %u\n", sizeof(Uint32)); ++error; } #ifdef SDL_HAS_64BIT_TYPE if (badsize(sizeof(Uint64), 8)) { if (verbose) - printf("sizeof(Uint64) != 8, instead = %lu\n", sizeof(Uint64)); + printf("sizeof(Uint64) != 8, instead = %u\n", sizeof(Uint64)); ++error; } #else