From bd2fcc957110e2954e1311c7db584be5c5b74b23 Mon Sep 17 00:00:00 2001 From: Artem Martynovich Date: Mon, 31 Oct 2016 19:26:31 +0600 Subject: [PATCH] directsoundsrc: Correctly cast mixer to uintptr https://bugzilla.gnome.org/show_bug.cgi?id=773720 --- sys/directsound/gstdirectsoundsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c index 8687e86e3d..3977466412 100644 --- a/sys/directsound/gstdirectsoundsrc.c +++ b/sys/directsound/gstdirectsoundsrc.c @@ -818,7 +818,7 @@ gst_directsound_src_mixer_find (GstDirectSoundSrc * dsoundsrc, if (mmres != MMSYSERR_NOERROR) continue; - mmres = mixerGetDevCaps (GPOINTER_TO_UINT (dsoundsrc->mixer), + mmres = mixerGetDevCaps ((UINT_PTR)dsoundsrc->mixer, mixer_caps, sizeof (MIXERCAPS)); if (mmres != MMSYSERR_NOERROR) {