From e38b1faa3eabf723090780f3f6cc1f22a4122111 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 16 Feb 2020 19:13:55 +0000 Subject: [PATCH] fix msvc incompat. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5624 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sys_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/sys_win.c b/engine/client/sys_win.c index ac3d467f7..d6cea7659 100644 --- a/engine/client/sys_win.c +++ b/engine/client/sys_win.c @@ -1017,7 +1017,7 @@ static struct //hide these symbols from shitty exports scanners so we don't look like the keylogger that we aren't. Note the 'vid.activeapp' requirement below - we are not a keylogger, we only see a limited set of keys and only when we already have focus. HHOOK (WINAPI *pSetWindowsHookEx) (int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId); //W and A versions have the same signature. LRESULT (WINAPI *pCallNextHookEx) (HHOOK hhk, int nCode, WPARAM wParam, LPARAM lParam); - WINBOOL (WINAPI *pUnhookWindowsHookEx) (HHOOK hhk); + BOOL (WINAPI *pUnhookWindowsHookEx) (HHOOK hhk); } winkeys; cvar_t sys_disableWinKeys = CVAR("sys_disableWinKeys", "0");