mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[mingw] fix type incompatibilities
The integer types with MINGW do not always match. Ensure the correct 32bit interger base type is used when passing pointers
This commit is contained in:
@@ -281,7 +281,7 @@ static BOOL wf_pre_connect(freerdp* instance)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
uint32_t keyboardLayoutId = freerdp_settings_get_uint32(settings, FreeRDP_KeyboardLayout);
|
||||
DWORD keyboardLayoutId = freerdp_settings_get_uint32(settings, FreeRDP_KeyboardLayout);
|
||||
|
||||
{
|
||||
CHAR name[KL_NAMELENGTH + 1] = { 0 };
|
||||
|
||||
@@ -2469,8 +2469,8 @@ static int parse_codec_cache_options(rdpSettings* settings, const COMMAND_LINE_A
|
||||
|
||||
static BOOL check_kbd_remap_valid(const char* token)
|
||||
{
|
||||
DWORD key = 0;
|
||||
DWORD value = 0;
|
||||
UINT32 key = 0;
|
||||
UINT32 value = 0;
|
||||
|
||||
WINPR_ASSERT(token);
|
||||
/* The remapping is only allowed for scancodes, so maximum is 999=999 */
|
||||
|
||||
Reference in New Issue
Block a user