From 8ef8e1e51bf5b96f0c20e0181beb5d7bee680f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Thu, 28 Sep 2023 16:08:30 -0400 Subject: [PATCH] fix x86 build --- dll/ApiHooks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dll/ApiHooks.cpp b/dll/ApiHooks.cpp index e5352c6..e16cd3d 100644 --- a/dll/ApiHooks.cpp +++ b/dll/ApiHooks.cpp @@ -12,9 +12,9 @@ #include -#include #include #include +#include HMODULE (WINAPI* Real_LoadLibraryA)(LPCSTR lpLibFileName) = LoadLibraryA; HMODULE (WINAPI* Real_LoadLibraryW)(LPCWSTR lpLibFileName) = LoadLibraryW; @@ -463,7 +463,7 @@ LRESULT CALLBACK Hook_IHWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar MsRdpEx_LogPrint(DEBUG, "Mouse Jiggler: Enabled=%d, Interval=%d, Method=%d", mouseJigglerEnabled ? 1 : 0, mouseJigglerInterval, mouseJigglerMethod); - UINT_PTR timerEventId = MOUSE_JIGGLER_MOVE_MOUSE_TIMER_ID; + uint32_t timerEventId = MOUSE_JIGGLER_MOVE_MOUSE_TIMER_ID; switch (mouseJigglerMethod) {