From a3f9abcbd1d10c14cd8e1fa5abbd76cc12532949 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Jan 2014 22:40:07 +0100 Subject: SongFilter, TagConfig: cast TAG_NUM_OF_ITEM_TYPES to integer Fixes clang warning. --- src/tag/TagConfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag') 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; -- cgit v1.2.3