directsoundsrc: Correctly cast mixer to uintptr

https://bugzilla.gnome.org/show_bug.cgi?id=773720
This commit is contained in:
Artem Martynovich 2016-10-31 19:26:31 +06:00 committed by Sebastian Dröge
parent c2920ec3ea
commit bd2fcc9571

View file

@ -818,7 +818,7 @@ gst_directsound_src_mixer_find (GstDirectSoundSrc * dsoundsrc,
if (mmres != MMSYSERR_NOERROR) if (mmres != MMSYSERR_NOERROR)
continue; continue;
mmres = mixerGetDevCaps (GPOINTER_TO_UINT (dsoundsrc->mixer), mmres = mixerGetDevCaps ((UINT_PTR)dsoundsrc->mixer,
mixer_caps, sizeof (MIXERCAPS)); mixer_caps, sizeof (MIXERCAPS));
if (mmres != MMSYSERR_NOERROR) { if (mmres != MMSYSERR_NOERROR) {