[Bug 754756] New: sys/directsound/gstdirectsoundsrc.c isn't buildable with 64bit Windows MinGW
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 8 22:02:08 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754756
Bug ID: 754756
Summary: sys/directsound/gstdirectsoundsrc.c isn't buildable
with 64bit Windows MinGW
Classification: Platform
Product: GStreamer
Version: git master
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kou at cozmixng.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 310946
--> https://bugzilla.gnome.org/attachment.cgi?id=310946&action=edit
Fix this problem
We get the following error by building with 64bit Windows target MinGW:
----
ggstdirectsoundsrc.c: In function 'gst_directsound_src_mixer_find':
gstdirectsoundsrc.c:733:30: error: cast from pointer to integer of different
size [-Werror=pointer-to-int-cast]
mmres = mixerGetDevCaps ((UINT) dsoundsrc->mixer,
^
cc1: all warnings being treated as errors
----
It shows that HMIXER to UINT cast is warned.
We can use portable GPOINTER_TO_UINT() macro for this propose.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list