Fixed compiler warnings.

This commit is contained in:
Armin Novak 2014-09-12 17:39:21 +02:00
parent a9644a26a0
commit a715e9ef50
2 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ BOOL df_verify_certificate(freerdp* instance, char* subject, char* issuer, char*
return FALSE;
}
static int df_receive_channel_data(freerdp* instance, int channelId, BYTE* data, int size, int flags, int total_size)
static int df_receive_channel_data(freerdp* instance, UINT16 channelId, BYTE* data, int size, int flags, int total_size)
{
return freerdp_channels_data(instance, channelId, data, size, flags, total_size);
}

View File

@ -345,7 +345,7 @@ int freerdp_keyboard_init_xkbfile(DWORD* keyboardLayoutId, DWORD x11_keycode_to_
if (*keyboardLayoutId == 0)
{
detect_keyboard_layout_from_xkbfile(display, keyboardLayoutId);
DEBUG_KBD("detect_keyboard_layout_from_xkb: %X", (unsigned int) keyboardLayoutId);
DEBUG_KBD("detect_keyboard_layout_from_xkb: %p", keyboardLayoutId);
}
freerdp_keyboard_load_map_from_xkbfile(display, x11_keycode_to_rdp_scancode);