Skip to content

Commit

Permalink
fix x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
awakecoding committed Sep 28, 2023
1 parent 3c44d42 commit 8ef8e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dll/ApiHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

#include <MsRdpEx/Detours.h>

#include <windowsx.h>
#include <wincred.h>
#include <psapi.h>
#include <windowsx.h>

HMODULE (WINAPI* Real_LoadLibraryA)(LPCSTR lpLibFileName) = LoadLibraryA;
HMODULE (WINAPI* Real_LoadLibraryW)(LPCWSTR lpLibFileName) = LoadLibraryW;
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 8ef8e1e

Please sign in to comment.