Commit 716e1486 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

localspl: Remove unneeded address-of operators from array names.

parent dffba6aa
......@@ -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);
......
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