diff --git a/reactos/subsystems/win32/win32k/ntuser/callback.c b/reactos/subsystems/win32/win32k/ntuser/callback.c index fbb8ce30da4..05585952834 100644 --- a/reactos/subsystems/win32/win32k/ntuser/callback.c +++ b/reactos/subsystems/win32/win32k/ntuser/callback.c @@ -495,9 +495,7 @@ co_IntCallHookProc(INT HookId, _SEH2_TRY { - ProbeForRead((PVOID)*(LRESULT*)ResultPointer, - sizeof(LRESULT), - 1); + ProbeForRead(ResultPointer, sizeof(LRESULT), 1); /* Simulate old behaviour: copy into our local buffer */ Result = *(LRESULT*)ResultPointer; }