mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 03:48:14 +00:00
Fixed warning C4244: '=': conversion from 'SDL_Keymod' to 'Uint16', possible loss of data
This commit is contained in:
@@ -50,7 +50,7 @@ typedef struct SDL_Keyboard
|
|||||||
{
|
{
|
||||||
/* Data common to all keyboards */
|
/* Data common to all keyboards */
|
||||||
SDL_Window *focus;
|
SDL_Window *focus;
|
||||||
Uint16 modstate;
|
SDL_Keymod modstate;
|
||||||
Uint8 keysource[SDL_NUM_SCANCODES];
|
Uint8 keysource[SDL_NUM_SCANCODES];
|
||||||
Uint8 keystate[SDL_NUM_SCANCODES];
|
Uint8 keystate[SDL_NUM_SCANCODES];
|
||||||
SDL_Keycode keymap[SDL_NUM_SCANCODES];
|
SDL_Keycode keymap[SDL_NUM_SCANCODES];
|
||||||
|
Reference in New Issue
Block a user