Fixed warning C4244: '=': conversion from 'SDL_Keymod' to 'Uint16', possible loss of data
This commit is contained in:
1 parent
71f3750ff1
commit
c64d7ed0aa
1 file changed
+1
-1
@@ -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