Parcourir la source

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

Emitted by MSVC
Anonymous Maarten il y a 3 ans
Parent
commit
3c251ec41e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;