diff options
author | veer <bveer428@gmail.com> | 2018-06-09 19:05:30 +0530 |
---|---|---|
committer | Victor Toso <me@victortoso.com> | 2018-07-09 13:14:55 +0200 |
commit | 5b60c7458e631cf943603c322ed0076f1ce33a65 (patch) | |
tree | fd2e2d3af9baba167b5475c4d4105416e6554762 | |
parent | 437da35985c17d3c64b0b51390aff67f609f6e66 (diff) | |
download | grilo-5b60c7458e631cf943603c322ed0076f1ce33a65.tar.gz |
test-ui: Fix -Wenum-compare
../tools/grilo-test-ui/main.c: In function ‘supported_media_to_str’:
../tools/grilo-test-ui/main.c:905:12: warning: comparison between
‘GrlMediaType’ {aka ‘enum <anonymous>’} and ‘enum <anonymous>’
[-Wenum-compare]
if (type == GRL_SUPPORTED_MEDIA_NONE)
^~
../tools/grilo-test-ui/main.c:907:12: warning: comparison between
‘GrlMediaType’ {aka ‘enum <anonymous>’} and ‘enum <anonymous>’
[-Wenum-compare]
if (type == GRL_SUPPORTED_MEDIA_ALL)
^~
https://gitlab.gnome.org/GNOME/grilo/issues/7
Signed-off-by: Victor Toso <victortoso@redhat.com>
-rw-r--r-- | tools/grilo-test-ui/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c index eaa8a72..4e6f728 100644 --- a/tools/grilo-test-ui/main.c +++ b/tools/grilo-test-ui/main.c @@ -898,7 +898,7 @@ add_source_metadata (GtkTreeModel *model, } static char * -supported_media_to_str (GrlMediaType type) +supported_media_to_str (GrlSupportedMedia type) { GString *s; |