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.
This commit is contained in:
Max Kellermann
2009-02-27 09:02:13 +01:00
parent 75c2029b1c
commit c1ab2d06aa
3 changed files with 6 additions and 16 deletions

View File

@@ -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);