aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:09 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:09 +0200
commit0fc2422cd098223642f12eecfc3fcd93d9f495d2 (patch)
treece00468b373eb49f449c3743d9d240867daa7927 /src/dbUtils.c
parente754ed01a77a0dfb5039148cd4990a669ea9024c (diff)
downloadmpd-0fc2422cd098223642f12eecfc3fcd93d9f495d2.tar.gz
mpd-0fc2422cd098223642f12eecfc3fcd93d9f495d2.tar.xz
mpd-0fc2422cd098223642f12eecfc3fcd93d9f495d2.zip
converted MpdTagItem.type to an enum
Don't use CPP macros when you can use C enum... this also allows better type checking.
Diffstat (limited to 'src/dbUtils.c')
-rw-r--r--src/dbUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index 5d070e588..519c1802d 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -254,7 +254,7 @@ static void freeListCommandItem(ListCommandItem * item)
free(item);
}
-static void visitTag(int fd, Song * song, int tagType)
+static void visitTag(int fd, Song * song, enum tag_type tagType)
{
int i;
MpdTag *tag = song->tag;