Commit a674ec0f authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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.
parent 75cd5e21
......@@ -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
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment