Fixed compiler warning using pointer as UINT.

This commit is contained in:
Bart House
2017-09-02 12:08:44 -07:00
committed by Pasi Kallinen
parent c9a82e8ae6
commit 4a4193ab37

View File

@@ -370,7 +370,7 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
ZeroMemory(kbd_state, sizeof(kbd_state));
GetKeyboardState(kbd_state);
if (ToAscii(wParam, (lParam >> 16) & 0xFF, kbd_state, &c, 0)) {
if (ToAscii((UINT) wParam, (lParam >> 16) & 0xFF, kbd_state, &c, 0)) {
NHEVENT_KBD(c & 0xFF);
return 0;
} else {