From c1ab2d06aaa11823c0310e513b11654cfa67df02 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 27 Feb 2009 09:02:13 +0100 Subject: 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. --- src/tag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag.h') 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); -- cgit v1.2.3