aboutsummaryrefslogtreecommitdiff
path: root/src/tag.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-27 09:02:13 +0100
committerMax Kellermann <max@duempel.org>2009-02-27 09:02:13 +0100
commitc1ab2d06aaa11823c0310e513b11654cfa67df02 (patch)
tree5671fd96b89ed9446f7aac7a7233dcbadb859a94 /src/tag.h
parent75c2029b1c3b59a5922eebc7cf91607758823c45 (diff)
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 'src/tag.h')
-rw-r--r--src/tag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.h b/src/tag.h
index 0348ad47..9f1549be 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -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);