aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-14 22:40:07 +0100
committerMax Kellermann <max@duempel.org>2014-01-14 22:40:07 +0100
commita3f9abcbd1d10c14cd8e1fa5abbd76cc12532949 (patch)
treecea939fcd4cb80298804fc408af7ce1c2c2f6a0c /src/tag
parent77041e2cd280975da79149ba48779e208630760f (diff)
downloadmpd-a3f9abcbd1d10c14cd8e1fa5abbd76cc12532949.tar.gz
mpd-a3f9abcbd1d10c14cd8e1fa5abbd76cc12532949.tar.xz
mpd-a3f9abcbd1d10c14cd8e1fa5abbd76cc12532949.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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag/TagConfig.cxx b/src/tag/TagConfig.cxx
index 113a94686..cfdd2e1eb 100644
--- a/src/tag/TagConfig.cxx
+++ b/src/tag/TagConfig.cxx
@@ -40,7 +40,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;