SDL: Use the correct type for the modifier in SDL_Keysym

From 026edbeab0f968346f7ac6b543dc09573c406509 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 10 May 2024 17:14:30 -0700
Subject: [PATCH] Use the correct type for the modifier in SDL_Keysym

This shrinks the structure by 32-bits because we've removed implicit padding between the fields
---
 include/SDL3/SDL_keyboard.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/SDL3/SDL_keyboard.h b/include/SDL3/SDL_keyboard.h
index d221ebf00a2b5..c065af64158d9 100644
--- a/include/SDL3/SDL_keyboard.h
+++ b/include/SDL3/SDL_keyboard.h
@@ -64,8 +64,8 @@ typedef struct SDL_Keysym
 {
     SDL_Scancode scancode;      /**< SDL physical key code - see ::SDL_Scancode for details */
     SDL_Keycode sym;            /**< SDL virtual key code - see ::SDL_Keycode for details */
-    Uint16 mod;                 /**< current key modifiers */
-    Uint32 unused;
+    SDL_Keymod mod;             /**< current key modifiers */
+    Uint16 unused;
 } SDL_Keysym;
 
 /* Function prototypes */