diff options
author | Max Kellermann <max@duempel.org> | 2009-02-27 09:02:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-27 09:02:13 +0100 |
commit | c1ab2d06aaa11823c0310e513b11654cfa67df02 (patch) | |
tree | 5671fd96b89ed9446f7aac7a7233dcbadb859a94 /src/tag.h | |
parent | 75c2029b1c3b59a5922eebc7cf91607758823c45 (diff) | |
download | mpd-c1ab2d06aaa11823c0310e513b11654cfa67df02.tar.gz mpd-c1ab2d06aaa11823c0310e513b11654cfa67df02.tar.xz mpd-c1ab2d06aaa11823c0310e513b11654cfa67df02.zip |
tag: make tag.num_items unsigned
There's no point in declaring num_items as a uint8_t, it doesn't save
any space, due to padding. This allows us to lift the articial "255
items" limitation.
Diffstat (limited to '')
-rw-r--r-- | src/tag.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ struct tag_item { struct tag { int time; struct tag_item **items; - uint8_t num_items; + unsigned num_items; }; struct tag *tag_ape_load(const char *file); |