Fixed compiler warning using pointer as UINT.
This commit is contained in:
committed by
Pasi Kallinen
parent
c9a82e8ae6
commit
4a4193ab37
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user