Thomas Faber : rpcrt4: Match MSVC version of call_server_func with GCC.
Alexandre Julliard
julliard at winehq.org
Mon Sep 24 16:04:27 CDT 2012
Module: wine
Branch: master
Commit: 25b76525f3f6edfcf630f235ccf15e395d009e87
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25b76525f3f6edfcf630f235ccf15e395d009e87
Author: Thomas Faber <thfabba at gmx.de>
Date: Sat Sep 22 12:38:11 2012 +0200
rpcrt4: Match MSVC version of call_server_func with GCC.
---
dlls/rpcrt4/ndr_stubless.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index db41a1a..d7a81bd 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -990,11 +990,12 @@ __declspec(naked) LONG_PTR __cdecl call_server_func(SERVER_ROUTINE func, unsigne
__asm
{
push ebp
+ mov ebp, esp
push edi ; Save registers
push esi
- mov ebp, esp
mov eax, [ebp+16] ; Get stack size
sub esp, eax ; Make room in stack for arguments
+ and esp, 0xFFFFFFF0
mov edi, esp
mov ecx, eax
mov esi, [ebp+12]
More information about the wine-cvs
mailing list