Browse Source

Fixed compiler warning

Sam Lantinga 7 years ago
parent
commit
1c43705bab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/SDL_test_random.c

+ 1 - 1
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);
 }