From: Sebastian Dröge Date: Tue, 22 Dec 2015 08:58:06 +0000 (+0100) Subject: ges-validate: Fix compiler warning caused by usage of wrong enum type X-Git-Tag: 1.19.3~493^2~1080 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9deaacbe340909f9a87855161cbb59d38a369004;p=platform%2Fupstream%2Fgstreamer.git ges-validate: Fix compiler warning caused by usage of wrong enum type ges-validate.c:237:22: error: implicit conversion from enumeration type 'GESEdge' to different enumeration type 'GESEditMode' [-Werror,-Wenum-conversion] GESEditMode edge = GES_EDGE_NONE; ~~~~ ^~~~~~~~~~~~~ ges-validate.c:277:41: error: implicit conversion from enumeration type 'GESEditMode' to different enumeration type 'GESEdge' [-Werror,-Wenum-conversion] new_layer_priority, mode, edge, position))) { ^~~~ https://bugzilla.gnome.org/show_bug.cgi?id=759758 --- diff --git a/ges/ges-validate.c b/ges/ges-validate.c index e546748..d31980a 100644 --- a/ges/ges-validate.c +++ b/ges/ges-validate.c @@ -234,7 +234,7 @@ _edit_container (GstValidateScenario * scenario, GstValidateAction * action) gboolean res = FALSE; gint new_layer_priority = -1; - GESEditMode edge = GES_EDGE_NONE; + GESEdge edge = GES_EDGE_NONE; GESEditMode mode = GES_EDIT_MODE_NORMAL; const gchar *edit_mode_str = NULL, *edge_str = NULL;