testintersections: fix conversion from `time_t` to `unsigned int` Emitted by MSVC
diff --git a/test/testintersections.c b/test/testintersections.c
index ff629f5..29af8e2 100644
--- a/test/testintersections.c
+++ b/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;