Browse Source

testintersections: fix conversion from `time_t` to `unsigned int`

Emitted by MSVC
Anonymous Maarten 2 years ago
parent
commit
3c251ec41e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testintersections.c

+ 1 - 1
test/testintersections.c

@@ -333,7 +333,7 @@ main(int argc, char *argv[])
         SDL_RenderClear(renderer);
     }
 
-    srand(time(NULL));
+    srand((unsigned int)time(NULL));
 
     /* Main render loop */
     frames = 0;