André Hentschel <n...@dawncrow.de> writes: > --- a/dlls/dsound/propset.c > +++ b/dlls/dsound/propset.c > @@ -109,7 +109,7 @@ static HRESULT WINAPI IKsBufferPropertySetImpl_Get( > S(prop).Set = *guidPropSet; > S(prop).Id = dwPropID; > S(prop).Flags = 0; /* unused */ > - S(prop).InstanceId = (ULONG)This->dsb->device; > + S(prop).InstanceId = (ULONG_PTR)This->dsb->device;
If the destination is a DWORD changing the cast is only hiding the problem. -- Alexandre Julliard julli...@winehq.org