Module: wine Branch: refs/heads/master Commit: a674ec0fdaf778aa1dca2f620b355e625a08efa4 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a674ec0fdaf778aa1dca2f62...
Author: Robert Shearman rob@codeweavers.com Date: Thu Apr 20 11:42:03 2006 +0100
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.
---
dlls/rpcrt4/ndr_stubless.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c index ec31fda..00132e5 100644 --- a/dlls/rpcrt4/ndr_stubless.c +++ b/dlls/rpcrt4/ndr_stubless.c @@ -936,9 +936,9 @@ __declspec(naked) LONG_PTR __cdecl call_ 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 } }