aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagItem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag/TagItem.hxx')
-rw-r--r--src/tag/TagItem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag/TagItem.hxx b/src/tag/TagItem.hxx
index f661a273b..a2924f2af 100644
--- a/src/tag/TagItem.hxx
+++ b/src/tag/TagItem.hxx
@@ -35,7 +35,7 @@ struct TagItem {
/**
* the value of this tag; this is a variable length string
*/
- char value[sizeof(long)];
+ char value[sizeof(long) - sizeof(type)];
TagItem() = default;
TagItem(const TagItem &other) = delete;