SDL: Fixed warning C4244: '=': conversion from 'SDL_Keymod' to 'Uint16', possible loss of data

From c64d7ed0aaff8102fe8c6e3b9b0a37e28450d8e5 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 10 May 2024 16:07:17 -0700
Subject: [PATCH] Fixed warning C4244: '=': conversion from 'SDL_Keymod' to
 'Uint16', possible loss of data

---
 src/events/SDL_keyboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events/SDL_keyboard.c b/src/events/SDL_keyboard.c
index 80e75eccef7ec..210953bfae8e0 100644
--- a/src/events/SDL_keyboard.c
+++ b/src/events/SDL_keyboard.c
@@ -50,7 +50,7 @@ typedef struct SDL_Keyboard
 {
     /* Data common to all keyboards */
     SDL_Window *focus;
-    Uint16 modstate;
+    SDL_Keymod modstate;
     Uint8 keysource[SDL_NUM_SCANCODES];
     Uint8 keystate[SDL_NUM_SCANCODES];
     SDL_Keycode keymap[SDL_NUM_SCANCODES];