Module: wine Branch: master Commit: 20c0c311dac337250d0cba8546fa639f34857347 URL: http://source.winehq.org/git/wine.git/?a=commit;h=20c0c311dac337250d0cba8546... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Tue Feb 26 20:20:06 2008 +0000 dplayx: Assign to struct instead of using memcpy. --- dlls/dplayx/dplay.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index 04044a7..abb71b2 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -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;