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);