playlist: use the "enum player_error" type
Don't assign the result of getPlayerError() to an integer.
This commit is contained in:
parent
6fd8c28d2e
commit
699b31178d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user