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;