[Bug 754755] New: gst/playback/gstplaybin2.c can't build with 64bit Windows target MinGW
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 8 21:33:13 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754755
Bug ID: 754755
Summary: gst/playback/gstplaybin2.c can't build with 64bit
Windows target MinGW
Classification: Platform
Product: GStreamer
Version: 2.x
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kou at cozmixng.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 310945
--> https://bugzilla.gnome.org/attachment.cgi?id=310945&action=edit
Fix this problem
We get the following error by building with 64bit Windows target MinGW:
----
gstplaybin2.c: In function 'pad_added_cb':
gstplaybin2.c:3476:7: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
(gpointer) group_id_probe_handler);
^
cc1: all warnings being treated as errors
----
It shows that gulong to gpointer cast is warned.
We can use portable GUINT_TO_POINTER() 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