Procházet zdrojové kódy

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

Emitted by MSVC
Anonymous Maarten před 2 roky
rodič
revize
3c251ec41e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;