[Bug 653137] Warnings in Gstreamer (core) with Clang compiler

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 26 05:33:21 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=653137
  GStreamer | gstreamer (core) | 0.11.x

--- Comment #12 from Sebastian Dröge <slomo at circular-chaos.org> 2011-06-26 12:33:18 UTC ---
(In reply to comment #10)
> The same that happens when you call the function with a random pointer..

But guard against that it would still be nice to have this check there. Maybe
cast the enum to an int before checking if it's smaller than 0.

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