aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/song_save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_save.c b/src/song_save.c
index 0a6e000e4..30a095dfe 100644
--- a/src/song_save.c
+++ b/src/song_save.c
@@ -86,7 +86,7 @@ insertSongIntoList(struct songvec *sv, struct song *newsong)
}
}
-static int matchesAnMpdTagItemKey(char *buffer, int *itemType)
+static int matchesAnMpdTagItemKey(char *buffer, enum tag_type *itemType)
{
int i;
@@ -108,7 +108,7 @@ void readSongInfoIntoList(FILE *fp, struct songvec *sv,
{
char buffer[MPD_PATH_MAX + 1024];
struct song *song = NULL;
- int itemType;
+ enum tag_type itemType;
while (fgets(buffer, sizeof(buffer), fp) &&
!g_str_has_prefix(buffer, SONG_END)) {