aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index 937ca3e3f..a72234247 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -48,7 +48,7 @@ visit_tag(struct visit_data *data, const struct tag *tag)
if (tag->time > 0)
stats.song_duration += tag->time;
- for (unsigned i = 0; i < tag->numOfItems; ++i) {
+ for (unsigned i = 0; i < tag->num_items; ++i) {
const struct tag_item *item = tag->items[i];
switch (item->type) {