Fixed compiler warning using pointer as UINT.

This commit is contained in:
Bart House
2017-09-04 12:41:53 +03:00
committed by Pasi Kallinen
parent c9a82e8ae6
commit 4a4193ab37
+1 -1
View File
@@ -370,7 +370,7 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
ZeroMemory(kbd_state, sizeof(kbd_state)); ZeroMemory(kbd_state, sizeof(kbd_state));
GetKeyboardState(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); NHEVENT_KBD(c & 0xFF);
return 0; return 0;
} else { } else {