ges-validate: Fix compiler warning caused by usage of wrong enum type
authorSebastian Dröge <sebastian@centricular.com>
Tue, 22 Dec 2015 08:58:06 +0000 (09:58 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 22 Dec 2015 08:58:30 +0000 (09:58 +0100)
commit9deaacbe340909f9a87855161cbb59d38a369004
tree65a52893ddf6cbe26260af43eda0e9f3d785903d
parentceb82ba3028332987d8d5251f98b4896120aa59b
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
ges/ges-validate.c