SDL: Fixed warning C4244: '=': conversion from '__int64' to 'int', possible loss of data

From b1215272adc686b5f0bf755b7f7a83265fd57953 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 19 Mar 2024 16:02:37 -0700
Subject: [PATCH] Fixed warning C4244: '=': conversion from '__int64' to 'int',
 possible loss of data

---
 src/time/windows/SDL_systime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/time/windows/SDL_systime.c b/src/time/windows/SDL_systime.c
index 2058efebfeb23..433b97ea56e48 100644
--- a/src/time/windows/SDL_systime.c
+++ b/src/time/windows/SDL_systime.c
@@ -111,7 +111,7 @@ int SDL_TimeToDateTime(SDL_Time ticks, SDL_DateTime *dt, SDL_bool localTime)
                 /* Calculate the difference for the UTC offset. */
                 SystemTimeToFileTime(&local_st, &local_ft);
                 const SDL_Time local_ticks = SDL_TimeFromWindows(local_ft.dwLowDateTime, local_ft.dwHighDateTime);
-                dt->utc_offset = SDL_NS_TO_SECONDS(local_ticks - ticks);
+                dt->utc_offset = (int)SDL_NS_TO_SECONDS(local_ticks - ticks);
                 st = &local_st;
             }
         } else {