diff --git a/reactos/lib/atl/atlwin.h b/reactos/lib/atl/atlwin.h index 6892bc5fdc7..028a59c3361 100644 --- a/reactos/lib/atl/atlwin.h +++ b/reactos/lib/atl/atlwin.h @@ -154,7 +154,7 @@ struct thunkCode m_mov = 0x042444C7; m_this = PtrToUlong(pThis); m_jmp = 0xe9; - m_relproc = DWORD((INT_PTR)proc - (INT_PTR)this + sizeof(thunkCode))); + m_relproc = DWORD((INT_PTR)proc - (INT_PTR)this + sizeof(thunkCode)); FlushInstructionCache(GetCurrentProcess(), this, sizeof(thunkCode)); } };