mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
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]
This commit is contained in:
parent
4f42fff349
commit
436d41fa8e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue