From 3c251ec41e7b2847efc846a31d4a01fd20d0bf99 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Thu, 6 Oct 2022 01:10:22 +0200 Subject: [PATCH] testintersections: fix conversion from `time_t` to `unsigned int` Emitted by MSVC --- test/testintersections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testintersections.c b/test/testintersections.c index ff629f526..29af8e21f 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;