[Bug 667287] gstpad: Cast function pointer assigments to lhs type (gpointer)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Mar 21 04:35:47 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667287
  GStreamer | gstreamer (core) | git

--- Comment #3 from Idar Tollefsen <itollefs at cisco.com> 2012-03-21 11:35:41 UTC ---
(In reply to comment #1)
> This looks fine, but why is it needed exactly? Anything can be assigned to
> void* without problems usually (in C anyway).

Indeed, but some compilers will issue a warning about the implicit casts.

In this case, it was the SunPro compiler on Solaris. For other compilers, it's
probably a matter of how high you set the warning level.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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