Commit c8cde669 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

gst: Fix 'comparison of unsigned enum expression >= 0 is always true' compiler warning

parent 495aca49
......@@ -913,7 +913,7 @@ parse_one_option (gint opt, const gchar * arg, GError ** err)
GstDebugLevel tmp = GST_LEVEL_NONE;
tmp = (GstDebugLevel) strtol (arg, NULL, 0);
if (tmp >= 0 && tmp < GST_LEVEL_COUNT) {
if (((guint) tmp) < GST_LEVEL_COUNT) {
gst_debug_set_default_threshold (tmp);
}
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment