diff --git a/dlls/rpcrt4/cproxy.c b/dlls/rpcrt4/cproxy.c index 21a824e8e9d..e9b5cea7bd3 100644 --- a/dlls/rpcrt4/cproxy.c +++ b/dlls/rpcrt4/cproxy.c @@ -129,7 +129,8 @@ HRESULT WINAPI StdProxy_Construct(REFIID riid, /* I can't find any other way to detect stubless proxies than this hack */ if (!IsEqualGUID(vtbl->header.piid, riid)) { - stubless = *((const void **)vtbl)++; + stubless = *(const void **)vtbl; + vtbl = (CInterfaceProxyVtbl *)((const void **)vtbl + 1); TRACE("stubless=%p\n", stubless); }