projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f42fff
)
souputils: Fix compiler warning
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 12 Feb 2014 09:08:50 +0000
(10:08 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 12 Feb 2014 09:08:50 +0000
(10:08 +0100)
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
patch
|
blob
|
history
diff --git
a/ext/soup/gstsouputils.c
b/ext/soup/gstsouputils.c
index
2f06a76
..
72c1ef1
100644
(file)
--- 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) {