[Bug 796957] closedcaptions: fixes when compiling with clang-6

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 14 10:46:50 UTC 2018


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

--- Comment #1 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 373326
  --> https://bugzilla.gnome.org/attachment.cgi?id=373326&action=edit
closedcaption: avoid implicit convertion of enums

When compiling with clang-6 this error pops out:

raw_decoder.c:1011:62: error: implicit conversion from enumeration
type 'const vbi_modulation' to different enumeration type
'vbi3_modulation' [-Werror,-Wenum-conversion]

This is because function vbi3_bit_slicer_set_params() sets
vbi3_modulation as enum type parameter, nonetheless vbi_modulation
enum is passed. Both enums looks semantically equal, thus the fix is a
simple cast.

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