mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[core,input] fix SyncEventFlag2Str
Use uint32_t as parameter instead of enum KBD_SYNC_FLAGS, the value might be outside of the enum range.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#define INPUT_EVENT_MOUSEX 0x8002
|
||||
#define INPUT_EVENT_MOUSEREL 0x8004
|
||||
|
||||
static const char* SyncEventFlag2Str(enum KBD_SYNC_FLAGS flag)
|
||||
static const char* SyncEventFlag2Str(uint32_t flag)
|
||||
{
|
||||
if (flag == KBD_SYNC_SCROLL_LOCK)
|
||||
return "SYNC_SCROLL_LOCK";
|
||||
|
||||
Reference in New Issue
Block a user