Andrew Talbot : rpcrt4: Remove unneeded address-of operator from array name .

Alexandre Julliard julliard at winehq.org
Mon Jul 14 05:56:55 CDT 2008


Module: wine
Branch: master
Commit: ab6efdd1e45bab8b9dc2bce35f0860fc26eb443c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ab6efdd1e45bab8b9dc2bce35f0860fc26eb443c

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Fri Jul 11 21:58:18 2008 +0100

rpcrt4: Remove unneeded address-of operator from array name.

---

 dlls/rpcrt4/rpc_async.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/rpc_async.c b/dlls/rpcrt4/rpc_async.c
index 4ff86a3..33fdc77 100644
--- a/dlls/rpcrt4/rpc_async.c
+++ b/dlls/rpcrt4/rpc_async.c
@@ -64,7 +64,7 @@ RPC_STATUS WINAPI RpcAsyncInitializeHandle(PRPC_ASYNC_STATE pAsync, unsigned int
     pAsync->Flags = 0;
     pAsync->StubInfo = NULL;
     pAsync->RuntimeInfo = NULL;
-    memset(&pAsync->Reserved, 0, sizeof(*pAsync) - FIELD_OFFSET(RPC_ASYNC_STATE, Reserved));
+    memset(pAsync->Reserved, 0, sizeof(*pAsync) - FIELD_OFFSET(RPC_ASYNC_STATE, Reserved));
 
     return RPC_S_OK;
 }




More information about the wine-cvs mailing list