[Bug 767817] Build error: gstrtpj2kpay.c:364:21: error: implicit truncation from 'int' to bitfield changes value from -1 to 65535

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 20 12:42:15 UTC 2016


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

--- Comment #5 from boxerab at gmail.com <boxerab at gmail.com> ---
(In reply to Tim-Philipp Müller from comment #4)
> I only had a quick glance and it looked like some code tried to distinguish
> between 0 invalid and -1 not set.
> 
> In any case, assigning -1 to a guint bitfield is not right and the compiler
> rightly complains about it.

Quite right. Simply remove the bitfield signifier from the "tile" member, and
it should all be good.

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