From 1c43705bab83ec537b2cc7d55a0429c3599d8e5c 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 68f60a6f710d1..ccc72a2f2bbce 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); }