From: Sebastian Dröge Date: Wed, 12 Feb 2014 09:08:50 +0000 (+0100) Subject: souputils: Fix compiler warning X-Git-Tag: 1.3.1~243 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=436d41fa8e8b7ffc63440b19ffc0d2bf7e15da42;p=platform%2Fupstream%2Fgst-plugins-good.git souputils: Fix compiler warning gstsouputils.c:35:25: error: comparison of constant 9 with expression of type 'SoupLoggerLogLevel' is always false [-Werror,-Wtautological-constant-out-of-range-compare] --- diff --git a/ext/soup/gstsouputils.c b/ext/soup/gstsouputils.c index 2f06a76..72c1ef1 100644 --- a/ext/soup/gstsouputils.c +++ b/ext/soup/gstsouputils.c @@ -32,7 +32,7 @@ gst_soup_util_log_make_level_tag (SoupLoggerLogLevel level) { gchar c; - if (G_UNLIKELY (level > 9)) + if (G_UNLIKELY ((gint) level > 9)) return '?'; switch (level) {