From b57330cf75bcb339e3f268f1019c63e40d305145 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 23 Feb 2011 09:10:21 +0100 Subject: playlist_state: declare local variable as enum --- src/playlist_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3