Robert Shearman : rpcrt4: Fix the MSVC version of call_server_func.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Apr 20 08:45:52 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: a674ec0fdaf778aa1dca2f620b355e625a08efa4
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a674ec0fdaf778aa1dca2f620b355e625a08efa4
Author: Robert Shearman <rob at 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
}
}
More information about the wine-cvs
mailing list