From 436d41fa8e8b7ffc63440b19ffc0d2bf7e15da42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 12 Feb 2014 10:08:50 +0100 Subject: [PATCH] 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] --- ext/soup/gstsouputils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/soup/gstsouputils.c b/ext/soup/gstsouputils.c index 2f06a76138..72c1ef12be 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) {