Explorar el Código

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

Emitted by MSVC
Anonymous Maarten hace 3 años
padre
commit
3c251ec41e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;