# HG changeset patch # User Sam Lantinga # Date 1264052981 0 # Node ID cc564f08884f97f8a6058d915e8f2626b9da933a # Parent 4c5ab6841fdc5074be2e32098128dcba2abcd86f Fixed compiler warnings on 32-bit Linux diff -r 4c5ab6841fdc -r cc564f08884f test/testplatform.c --- a/test/testplatform.c Tue Jan 19 07:28:51 2010 +0000 +++ b/test/testplatform.c Thu Jan 21 05:49:41 2010 +0000 @@ -24,23 +24,23 @@ 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