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

This commit is contained in:
Sam Lantinga 2024-05-10 16:07:17 -07:00
parent 71f3750ff1
commit c64d7ed0aa

View file

@ -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];