dplayx: Assign to struct instead of using memcpy
Andrew Talbot
andrew.talbot at talbotville.com
Tue Feb 26 14:20:06 CST 2008
Changelog:
dplayx: Assign to struct instead of using memcpy.
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;
More information about the wine-patches
mailing list