validate: Fix compiler warning about implicit enum type conversion
authorRamprakash Jelari <ennajelari@gmail.com>
Fri, 24 Oct 2014 13:11:30 +0000 (18:41 +0530)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 24 Oct 2014 13:19:19 +0000 (15:19 +0200)
commiteb47b1021f3359f67d00e39b2344ad11452b68df
tree73f2e0290c5406f89b23a198a2ff5bb2327b98a2
parent6cf2d92b0f0091a3e68632add53e23fc00b869fa
validate: Fix compiler warning about implicit enum type conversion

gst-validate-reporter.c:119:39: error: implicit conversion from enumeration type
      'GstValidateReportingDetails' to different enumeration type
      'GstValidateInterceptionReturn' [-Werror,-Wenum-conversion]
  GstValidateInterceptionReturn ret = GST_VALIDATE_SHOW_UNKNOWN;
                                ~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~
gst-validate-reporter.c:124:11: error: implicit conversion from enumeration type
      'GstValidateReportingDetails' to different enumeration type
      'GstValidateInterceptionReturn' [-Werror,-Wenum-conversion]
    ret = iface->get_reporting_level (reporter);
        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gst-validate-reporter.c:127:10: error: implicit conversion from enumeration type
      'GstValidateInterceptionReturn' to different enumeration type
      'GstValidateReportingDetails' [-Werror,-Wenum-conversion]
  return ret;
  ~~~~~~ ^~~
validate/gst/validate/gst-validate-reporter.c