From ab67a9025657976e7a76e42a327c2ca0978bf67b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 9 Dec 2017 13:05:56 -0800 Subject: [PATCH] Fixed compiler warning --- src/test/SDL_test_random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/SDL_test_random.c b/src/test/SDL_test_random.c index 68f60a6f7..ccc72a2f2 100644 --- a/src/test/SDL_test_random.c +++ b/src/test/SDL_test_random.c @@ -70,7 +70,7 @@ void SDLTest_RandomInitTime(SDLTest_RandomContext * rndContext) srand((unsigned int)time(NULL)); a=rand(); - srand(clock()); + srand((unsigned int)clock()); b=rand(); SDLTest_RandomInit(rndContext, a, b); }