Commit 20c0c311 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dplayx: Assign to struct instead of using memcpy.

parent 0e33eee9
......@@ -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;
......
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