dmime: Indirection levels fix

Andrew Talbot andrew.talbot at talbotville.com
Tue Aug 5 15:56:33 CDT 2008


Changelog:
    dmime: Indirection levels fix.

diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c
index ad3d740..2c4560e 100644
--- a/dlls/dmime/performance.c
+++ b/dlls/dmime/performance.c
@@ -620,13 +620,13 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_GetGlobalParam (LPDIRECTMUSIC
 	TRACE("(%p, %s, %p, %d): stub\n", This, debugstr_dmguid(rguidType), pParam, dwSize);
 	
 	if (IsEqualGUID (rguidType, &GUID_PerfAutoDownload))
-		memcpy(pParam, &This->fAutoDownload, sizeof(&This->fAutoDownload));
+		memcpy(pParam, &This->fAutoDownload, sizeof(This->fAutoDownload));
 	if (IsEqualGUID (rguidType, &GUID_PerfMasterGrooveLevel))
-		memcpy(pParam, &This->cMasterGrooveLevel, sizeof(&This->cMasterGrooveLevel));
+		memcpy(pParam, &This->cMasterGrooveLevel, sizeof(This->cMasterGrooveLevel));
 	if (IsEqualGUID (rguidType, &GUID_PerfMasterTempo))
-		memcpy(pParam, &This->fMasterTempo, sizeof(&This->fMasterTempo));
+		memcpy(pParam, &This->fMasterTempo, sizeof(This->fMasterTempo));
 	if (IsEqualGUID (rguidType, &GUID_PerfMasterVolume))
-		memcpy(pParam, &This->lMasterVolume, sizeof(&This->lMasterVolume));
+		memcpy(pParam, &This->lMasterVolume, sizeof(This->lMasterVolume));
 
 	return S_OK;
 }



More information about the wine-patches mailing list