Fixed bug #705
authorSam Lantinga <slouken@libsdl.org>
Sat, 26 Sep 2009 09:56:26 +0000
changeset 3312c91cb3f0204e
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
     1.1 --- a/test/testplatform.c	Sat Sep 26 09:44:52 2009 +0000
     1.2 +++ b/test/testplatform.c	Sat Sep 26 09:56:26 2009 +0000
     1.3 @@ -23,23 +23,23 @@
     1.4  
     1.5      if (badsize(sizeof(Uint8), 1)) {
     1.6          if (verbose)
     1.7 -            printf("sizeof(Uint8) != 1, instead = %ul\n", sizeof(Uint8));
     1.8 +            printf("sizeof(Uint8) != 1, instead = %lu\n", sizeof(Uint8));
     1.9          ++error;
    1.10      }
    1.11      if (badsize(sizeof(Uint16), 2)) {
    1.12          if (verbose)
    1.13 -            printf("sizeof(Uint16) != 2, instead = %ul\n", sizeof(Uint16));
    1.14 +            printf("sizeof(Uint16) != 2, instead = %lu\n", sizeof(Uint16));
    1.15          ++error;
    1.16      }
    1.17      if (badsize(sizeof(Uint32), 4)) {
    1.18          if (verbose)
    1.19 -            printf("sizeof(Uint32) != 4, instead = %ul\n", sizeof(Uint32));
    1.20 +            printf("sizeof(Uint32) != 4, instead = %lu\n", sizeof(Uint32));
    1.21          ++error;
    1.22      }
    1.23  #ifdef SDL_HAS_64BIT_TYPE
    1.24      if (badsize(sizeof(Uint64), 8)) {
    1.25          if (verbose)
    1.26 -            printf("sizeof(Uint64) != 8, instead = %ul\n", sizeof(Uint64));
    1.27 +            printf("sizeof(Uint64) != 8, instead = %lu\n", sizeof(Uint64));
    1.28          ++error;
    1.29      }
    1.30  #else