Fixed compiler warning
diff --git a/src/test/SDL_test_random.c b/src/test/SDL_test_random.c
index 68f60a6..ccc72a2 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);
}