diff options
author | Max Kellermann <max@duempel.org> | 2014-01-14 22:40:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-15 11:23:41 +0100 |
commit | a1b798e555a47a63470edb69d0b3786aae003776 (patch) | |
tree | b5286a92fb50ba7dd4c54c44ecd7b47cc1434239 /src/tag | |
parent | c91e08fbfd257313fa7950cdb0c81657b9e1b173 (diff) | |
download | mpd-a1b798e555a47a63470edb69d0b3786aae003776.tar.gz mpd-a1b798e555a47a63470edb69d0b3786aae003776.tar.xz mpd-a1b798e555a47a63470edb69d0b3786aae003776.zip |
SongFilter, TagConfig: cast TAG_NUM_OF_ITEM_TYPES to integer
Fixes clang warning.
Diffstat (limited to 'src/tag')
-rw-r--r-- | src/tag/TagConfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag/TagConfig.cxx b/src/tag/TagConfig.cxx index 96fd1847f..b8be4fc4c 100644 --- a/src/tag/TagConfig.cxx +++ b/src/tag/TagConfig.cxx @@ -39,7 +39,7 @@ TagLoadConfig() if (value == nullptr) return; - std::fill_n(ignore_tag_items, TAG_NUM_OF_ITEM_TYPES, true); + std::fill_n(ignore_tag_items, size_t(TAG_NUM_OF_ITEM_TYPES), true); if (StringEqualsCaseASCII(value, "none")) return; |