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;