Commit 699b3117 authored by Max Kellermann's avatar Max Kellermann

playlist: use the "enum player_error" type

Don't assign the result of getPlayerError() to an integer.
parent 6fd8c28d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment