Andrew Talbot : localspl: Remove unneeded address-of operators from array names.
Alexandre Julliard
julliard at winehq.org
Fri Jul 11 08:44:10 CDT 2008
Module: wine
Branch: master
Commit: 716e1486b4afc23824835ab61481780090955211
URL: http://source.winehq.org/git/wine.git/?a=commit;h=716e1486b4afc23824835ab61481780090955211
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Fri Jul 11 10:41:33 2008 +0100
localspl: Remove unneeded address-of operators from array names.
---
dlls/localspl/localmon.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/localspl/localmon.c b/dlls/localspl/localmon.c
index b29b844..ef35576 100644
--- a/dlls/localspl/localmon.c
+++ b/dlls/localspl/localmon.c
@@ -530,7 +530,7 @@ static BOOL WINAPI localmon_OpenPortW(LPWSTR pName, PHANDLE phPort)
if (!port) return FALSE;
port->type = type;
- memcpy(&port->nameW, pName, len);
+ memcpy(port->nameW, pName, len);
*phPort = (HANDLE) port;
EnterCriticalSection(&port_handles_cs);
@@ -743,7 +743,7 @@ static BOOL WINAPI localmon_XcvOpenPort(LPCWSTR pName, ACCESS_MASK GrantedAccess
xcv = heap_alloc( sizeof(xcv_t) + len);
if (xcv) {
xcv->GrantedAccess = GrantedAccess;
- memcpy(&xcv->nameW, pName, len);
+ memcpy(xcv->nameW, pName, len);
*phXcv = (HANDLE) xcv;
EnterCriticalSection(&xcv_handles_cs);
list_add_tail(&xcv_handles, &xcv->entry);
More information about the wine-cvs
mailing list