mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 15:30:50 +00:00
Fixed warning C4244: '=': conversion from 'SDL_Keymod' to 'Uint16', possible loss of data
This commit is contained in:
parent
71f3750ff1
commit
c64d7ed0aa
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue