ntdll: Avoid a compiler warning when fetching the return address.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
38c78a9682
commit
716cf7d342
|
@ -360,7 +360,7 @@ NTSTATUS CDECL DECLSPEC_HIDDEN __regs_NtGetContextThread( DWORD edi, DWORD esi,
|
|||
{
|
||||
context->Ebp = ebp;
|
||||
context->Esp = (DWORD)&retaddr;
|
||||
context->Eip = *(&edi - 1);
|
||||
context->Eip = (DWORD)NtGetContextThread + 12;
|
||||
context->EFlags = eflags;
|
||||
}
|
||||
return unix_funcs->NtGetContextThread( handle, context );
|
||||
|
|
Loading…
Reference in New Issue