[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:
akallabeth
2025-12-12 18:09:18 +01:00
parent 3faefca351
commit b160ea80e8
9 changed files with 22 additions and 11 deletions

View File

@@ -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 */