dplayx: Assign to struct instead of using memcpy.

This commit is contained in:
Andrew Talbot 2008-02-26 20:20:06 +00:00 committed by Alexandre Julliard
parent 0e33eee9a2
commit 20c0c311da
1 changed files with 1 additions and 2 deletions

View File

@ -3619,8 +3619,7 @@ BOOL WINAPI DP_BuildSPCompoundAddr( LPGUID lpcSpGuid, LPVOID* lplpAddrBuf,
HRESULT hr;
dpCompoundAddress.dwDataSize = sizeof( GUID );
memcpy( &dpCompoundAddress.guidDataType, &DPAID_ServiceProvider,
sizeof( GUID ) ) ;
dpCompoundAddress.guidDataType = DPAID_ServiceProvider;
dpCompoundAddress.lpData = lpcSpGuid;
*lplpAddrBuf = NULL;