diff options
author | Artem Martynovich <artem.martynovich@gmail.com> | 2016-10-31 19:26:31 +0600 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-10-31 16:06:49 +0200 |
commit | bd2fcc957110e2954e1311c7db584be5c5b74b23 (patch) | |
tree | 9cb6a264c1254027332f31661d22b2b72f648295 | |
parent | c2920ec3eab4fff2c6c11b9b0027f5b9b3581aa0 (diff) | |
download | gstreamer-plugins-bad-bd2fcc957110e2954e1311c7db584be5c5b74b23.tar.gz |
directsoundsrc: Correctly cast mixer to uintptr
https://bugzilla.gnome.org/show_bug.cgi?id=773720
-rw-r--r-- | sys/directsound/gstdirectsoundsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c index 8687e86e3..397746641 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) { |