From c8cde669b78f120cfe0a7181fd8f5508cbd249fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Mar 2012 12:16:19 +0100 Subject: [PATCH] gst: Fix 'comparison of unsigned enum expression >= 0 is always true' compiler warning --- gst/gst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gst.c b/gst/gst.c index ff7f250..8e6c542 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -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; -- 2.7.4