[Bug 775112] clang compiler warnings due to integer conversions

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 26 09:39:27 UTC 2016


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

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 340787
  --> https://bugzilla.gnome.org/attachment.cgi?id=340787&action=edit
orc: Explicitly define unsigned integer literals as unsigned

And cast constant loads to their correct target type instead of int. clang
complains about such implicit conversions in the latest version:

error: implicit conversion from 'int' to 'orc_int8' (aka 'signed char') changes
value from 255 to
      -1 [-Werror,-Wconstant-conversion]
    var36 = (int)0x000000ff; /* 255 or 1.25987e-321f */

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list