Andrew Talbot : dmime: Indirection levels fix.
Module: wine Branch: master Commit: 3bf289aecc914edb379393ca8a817afc6f79e415 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3bf289aecc914edb379393ca8a... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Tue Aug 5 21:56:33 2008 +0100 dmime: Indirection levels fix. --- dlls/dmime/performance.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) 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; }
participants (1)
-
Alexandre Julliard