aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dbUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index f83ae4c21..d03854d5d 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -201,10 +201,10 @@ static int directoryPrintSongInfo(int fd, Song * song, void *data)
static int sumSongTime(int fd, Song * song, void *data)
{
- unsigned long *time = (unsigned long *)data;
+ unsigned long *sum_time = (unsigned long *)data;
if (song->tag && song->tag->time >= 0)
- *time += song->tag->time;
+ *sum_time += song->tag->time;
return 0;
}