[Bug 796230] gst-libs sdp: Function cast warnings in GCC 8
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri May 18 13:40:08 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796230
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #372178|none |reviewed
status| |
--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 372178:
--> (https://bugzilla.gnome.org/review?bug=796230&attachment=372178)
::: gst-libs/gst/sdp/gstsdpmessage.h
@@ +755,3 @@
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+static inline void _gst_autoptr_cleanup_sdp_message (GstSDPMessage *o) {
gst_sdp_message_free (o); }
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstSDPMessage, _gst_autoptr_cleanup_sdp_message)
Just casting the free function to a gpointer first and then to a GDestroyNotify
is not enough?
--
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