testspriteminimal: fix conversion from `time_t` to `unsigned int` Emitted by MSVC
diff --git a/test/testspriteminimal.c b/test/testspriteminimal.c
index 36ea373..6be99fd 100644
--- a/test/testspriteminimal.c
+++ b/test/testspriteminimal.c
@@ -117,7 +117,7 @@ main(int argc, char *argv[])
}
/* Initialize the sprite positions */
- srand(time(NULL));
+ srand((unsigned int)time(NULL));
for (i = 0; i < NUM_SPRITES; ++i) {
positions[i].x = rand() % (WINDOW_WIDTH - sprite_w);
positions[i].y = rand() % (WINDOW_HEIGHT - sprite_h);