[Bug 754755] playbin: Compiler warning with 64bit Windows target MinGW, cast to pointer from integer of different size
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Sep 11 14:30:35 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754755
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.5.91
--- Comment #15 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit ab64b00b48ab78496245d5bb0eda1d51fcb9e209
Author: Kouhei Sutou <kou at clear-code.com>
Date: Fri Sep 11 23:48:05 2015 +0900
playback: fix build error for 64bit Windows build by MinGW
Casting to gpointer from gulong generates the following warning 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
We should cast to guintptr from gulong before we cast to gpointer.
https://bugzilla.gnome.org/show_bug.cgi?id=754755
--
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