Re: dsound: Fix some pointer conversion warnings on 64-bit
20 Jul
2009
20 Jul
'09
10:43 a.m.
André Hentschel <nerv(a)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 julliard(a)winehq.org
6079
Age (days ago)
6079
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard