[Bug 796230] gst-libs sdp: Function cast warnings in GCC 8

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 18 08:47:19 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796230

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at coaxion.net

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
That's a false warning unfortunately, and the cast should've already prevented
that. Returning something for a function that does not expect a return value is
perfectly fine.

You could try to first cast the function to a gpointer and then to a
GDestroyNotify there. Does that work?

-- 
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