From 75c2029b1c3b59a5922eebc7cf91607758823c45 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 27 Feb 2009 09:01:55 +0100 Subject: tag: no CamelCase Renamed numOfItems to num_items. --- src/output/shout_plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/output/shout_plugin.c') diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c index 2ad7e7b56..47134a932 100644 --- a/src/output/shout_plugin.c +++ b/src/output/shout_plugin.c @@ -457,12 +457,11 @@ shout_tag_to_metadata(const struct tag *tag, char *dest, size_t size) { char artist[size]; char title[size]; - int i; artist[0] = 0; title[0] = 0; - for (i = 0; i < tag->numOfItems; i++) { + for (unsigned i = 0; i < tag->num_items; i++) { switch (tag->items[i]->type) { case TAG_ITEM_ARTIST: strncpy(artist, tag->items[i]->value, size); -- cgit v1.2.3