dmband: Indirection levels fix
Andrew Talbot
andrew.talbot at talbotville.com
Wed Feb 20 16:52:47 CST 2008
Changelog:
dmband: Indirection levels fix.
diff --git a/dlls/dmband/band.c b/dlls/dmband/band.c
index 891fb5a..8b89573 100644
--- a/dlls/dmband/band.c
+++ b/dlls/dmband/band.c
@@ -173,7 +173,7 @@ static HRESULT WINAPI IDirectMusicBandImpl_IDirectMusicObject_SetDescriptor (LPD
This->pDesc->ftDate = pDesc->ftDate;
if (pDesc->dwValidData & DMUS_OBJ_MEMORY) {
This->pDesc->llMemLength = pDesc->llMemLength;
- memcpy (This->pDesc->pbMemData, pDesc->pbMemData, sizeof (pDesc->pbMemData));
+ memcpy (&This->pDesc->pbMemData, &pDesc->pbMemData, sizeof (pDesc->pbMemData));
}
if (pDesc->dwValidData & DMUS_OBJ_STREAM) {
/* according to MSDN, we copy the stream */
More information about the wine-patches
mailing list