minor warning fixes.
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 04 Aug 2019 14:56:02 +0300
changeset 12995db8413ae083c
parent 12994 a9c33584781c
child 12996 b4a7e94357f2
minor warning fixes.
Makefile.os2
test/testqsort.c
     1.1 --- a/Makefile.os2	Sun Aug 04 00:34:23 2019 -0300
     1.2 +++ b/Makefile.os2	Sun Aug 04 14:56:02 2019 +0300
     1.3 @@ -89,6 +89,9 @@
     1.4  SDL_rwops.obj: SDL_rwops.c
     1.5      wcc386 $(CFLAGS) -wcd=136 -fo=$^@ $<
     1.6  
     1.7 +SDL_wave.obj: SDL_wave.c
     1.8 +    wcc386 $(CFLAGS) -wcd=124 -fo=$^@ $<
     1.9 +
    1.10  SDL_blendfillrect.obj: SDL_blendfillrect.c
    1.11      wcc386 $(CFLAGS) -wcd=200 -fo=$^@ $<
    1.12  
     2.1 --- a/test/testqsort.c	Sun Aug 04 00:34:23 2019 -0300
     2.2 +++ b/test/testqsort.c	Sun Aug 04 14:56:02 2019 +0300
     2.3 @@ -57,13 +57,11 @@
     2.4              success = SDL_sscanf(argv[1] + 2, "%llx", &seed);
     2.5          else
     2.6              success = SDL_sscanf(argv[1], "%llu", &seed);
     2.7 -        if (!success)
     2.8 -        {
     2.9 +        if (!success) {
    2.10              SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Invalid seed. Use a decimal or hexadecimal number.\n");
    2.11              return 1;
    2.12          }
    2.13 -        if (seed <= 0xffffffff)
    2.14 -        {
    2.15 +        if (seed <= ((Uint64)0xffffffff)) {
    2.16              SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Seed must be equal or greater than 0x100000000.\n");
    2.17              return 1;
    2.18          }