diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-13 09:40:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-13 09:40:14 +0200 |
commit | 8867bd554c6acd508d41f80457bac242a36e61fc (patch) | |
tree | 2e1685816d0d32259a87c461b92ad03d52932098 /src/tag.h | |
parent | c641aabe3385f2f3604dee622e0b92dc37be074c (diff) | |
download | mpd-8867bd554c6acd508d41f80457bac242a36e61fc.tar.gz mpd-8867bd554c6acd508d41f80457bac242a36e61fc.tar.xz mpd-8867bd554c6acd508d41f80457bac242a36e61fc.zip |
tag_item: avoid wasting space when struct is unpackable
Not all compilers support struct packing, and those that don't
shouldn't be punished for it.
Diffstat (limited to 'src/tag.h')
-rw-r--r-- | src/tag.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ extern const char *mpdTagItemKeys[]; struct tag_item { enum tag_type type; - char value[1]; + char value[sizeof(long)]; } mpd_packed; struct tag { |