SDL: testnative: fix conversion from `time_t` to `unsigned int`

From 7a7980fafaa3a447c7ba64f7a014d4d0e2f3e755 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 6 Oct 2022 01:12:42 +0200
Subject: [PATCH] testnative: fix conversion from `time_t` to `unsigned int`

Emitted by MSVC
---
 test/testnative.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testnative.c b/test/testnative.c
index 34ee661f9419..e115089d5d4f 100644
--- a/test/testnative.c
+++ b/test/testnative.c
@@ -164,7 +164,7 @@ main(int argc, char *argv[])
         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Out of memory!\n");
         quit(2);
     }
-    srand(time(NULL));
+    srand((unsigned int)time(NULL));
     for (i = 0; i < NUM_SPRITES; ++i) {
         positions[i].x = rand() % (window_w - sprite_w);
         positions[i].y = rand() % (window_h - sprite_h);