From 66ecf39efe703185b1d54775e052d1c6a3f76903 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Tue, 21 Aug 2012 19:38:08 +0200
Subject: [PATCH] command: make "single" a bool

---
 src/command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/command.c b/src/command.c
index 329b7d51a..c405925f2 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1069,7 +1069,7 @@ handle_next(G_GNUC_UNUSED struct client *client,
 {
 	/* single mode is not considered when this is user who
 	 * wants to change song. */
-	int single = g_playlist.queue.single;
+	const bool single = g_playlist.queue.single;
 	g_playlist.queue.single = false;
 
 	playlist_next(&g_playlist, client->player_control);