converted MpdTagItem.type to an enum
Don't use CPP macros when you can use C enum... this also allows better type checking.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user