rpcrt4: fix compiler warnings on non-i386
Austin English
austinenglish at gmail.com
Sun Aug 30 19:57:43 CDT 2009
Tested on PowerPC/x86/x86_64.
--
-Austin
-------------- next part --------------
diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c
index 95ac1d8..1a2ab5d 100644
--- a/dlls/rpcrt4/cstub.c
+++ b/dlls/rpcrt4/cstub.c
@@ -120,6 +120,7 @@ typedef struct
static ref_counted_vtbl *current_vtbl;
+#if defined(__i386__)
static HRESULT WINAPI delegating_QueryInterface(IUnknown *pUnk, REFIID iid, void **ppv)
{
@@ -137,8 +138,6 @@ static ULONG WINAPI delegating_Release(IUnknown *pUnk)
return 1;
}
-#if defined(__i386__)
-
/* The idea here is to replace the first param on the stack
ie. This (which will point to cstdstubbuffer_delegating_t)
with This->stub_buffer.pvServerObject and then jump to the
More information about the wine-patches
mailing list