rpcrt4: Fix the MSVC version of call_server_func.

Fix the MSVC version of call_server_func to pop the registers in the
same order they were pushed.
This commit is contained in:
Robert Shearman 2006-04-20 11:42:03 +01:00 committed by Alexandre Julliard
parent 75cd5e2101
commit a674ec0fda
1 changed files with 2 additions and 2 deletions

View File

@ -936,9 +936,9 @@ __declspec(naked) LONG_PTR __cdecl call_server_func(SERVER_ROUTINE func, unsigne
rep movsd ; Copy dword blocks
call [ebp+8] ; Call function
lea esp, [ebp-8] ; Restore stack
pop ebp ; Restore registers
pop esi
pop esi ; Restore registers
pop edi
pop ebp
ret
}
}