Fixed warning C4244: '=': conversion from 'SDL_Keymod' to 'Uint16', possible loss of data
This commit is contained in:
1 parent
8582bdaab8
commit
c95c415a0b
2 files changed
+7
-7
No files matched your search
@@ -300,7 +300,7 @@ typedef Uint32 SDL_Keycode;
|
||||
*
|
||||
* \since This datatype is available since SDL 3.0.0.
|
||||
*/
|
||||
typedef Uint32 SDL_Keymod;
|
||||
typedef Uint16 SDL_Keymod;
|
||||
|
||||
#define SDL_KMOD_NONE 0x0000u /**< no modifier is applicable. */
|
||||
#define SDL_KMOD_LSHIFT 0x0001u /**< the left Shift key is down. */
|
||||
|
||||
Reference in new issue
Block a user