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) {