From 699b31178dd5882fa474946b6ca16d8d0d9daff0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Jan 2009 16:17:57 +0100 Subject: playlist: use the "enum player_error" type Don't assign the result of getPlayerError() to an integer. --- src/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/playlist.c') diff --git a/src/playlist.c b/src/playlist.c index 44344cf04..3582dfd98 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -914,7 +914,7 @@ void nextSongInPlaylist(void) void playPlaylistIfPlayerStopped(void) { if (getPlayerState() == PLAYER_STATE_STOP) { - int error = getPlayerError(); + enum player_error error = getPlayerError(); if (error == PLAYER_ERROR_NOERROR) playlist_errorCount = 0; -- cgit v1.2.3