Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Sat, 09 Dec 2017 13:05:56 -0800
changeset 117525f52e99c49b0
parent 11751 f5a8e41ac249
child 11753 963b438b949f
Fixed compiler warning
src/test/SDL_test_random.c
     1.1 --- a/src/test/SDL_test_random.c	Sat Dec 09 12:58:41 2017 -0800
     1.2 +++ b/src/test/SDL_test_random.c	Sat Dec 09 13:05:56 2017 -0800
     1.3 @@ -70,7 +70,7 @@
     1.4  
     1.5    srand((unsigned int)time(NULL));
     1.6    a=rand();
     1.7 -  srand(clock());
     1.8 +  srand((unsigned int)clock());
     1.9    b=rand();
    1.10    SDLTest_RandomInit(rndContext, a, b);
    1.11  }