aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_state.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-02-23 09:10:21 +0100
committerMax Kellermann <max@duempel.org>2011-02-23 09:10:23 +0100
commitb57330cf75bcb339e3f268f1019c63e40d305145 (patch)
treea1353c8e768388a2e98e4382b98894ecddc57489 /src/playlist_state.c
parent8cd91fabf958306039645b2276e463eee14d9ea3 (diff)
downloadmpd-b57330cf75bcb339e3f268f1019c63e40d305145.tar.gz
mpd-b57330cf75bcb339e3f268f1019c63e40d305145.tar.xz
mpd-b57330cf75bcb339e3f268f1019c63e40d305145.zip
playlist_state: declare local variable as enum
Diffstat (limited to '')
-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))