Commit 1c43705bab83ec537b2cc7d55a0429c3599d8e5c

Sam Lantinga 2017-12-09T13:05:56

Fixed compiler warning

1
2
3
4
5
6
7
8
9
10
11
12
13
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);
 }