aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/playlist_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_state.c b/src/playlist_state.c
index d841c3c01..8f065e6cb 100644
--- a/src/playlist_state.c
+++ b/src/playlist_state.c
@@ -129,7 +129,7 @@ playlist_state_restore(const char *line, FILE *fp, GString *buffer,
{
int current = -1;
int seek_time = 0;
- int state = PLAYER_STATE_STOP;
+ enum player_state state = PLAYER_STATE_STOP;
bool random_mode = false;
if (!g_str_has_prefix(line, PLAYLIST_STATE_FILE_STATE))