summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/directsound/gstdirectsoundsrc.c2
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) {