Commit 3c251ec41e7b2847efc846a31d4a01fd20d0bf99

Anonymous Maarten 2022-10-06T01:10:22

testintersections: fix conversion from `time_t` to `unsigned int` Emitted by MSVC

1
2
3
4
5
6
7
8
9
10
11
12
13
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;