diff --git a/src/queue/Playlist.cxx b/src/queue/Playlist.cxx index 136682b00..f7984b34a 100644 --- a/src/queue/Playlist.cxx +++ b/src/queue/Playlist.cxx @@ -152,14 +152,14 @@ playlist::UpdateQueuedSong(PlayerControl &pc, const DetachedSong *prev) } bool -playlist::PlayOrder(PlayerControl &pc, int order, Error &error) +playlist::PlayOrder(PlayerControl &pc, unsigned order, Error &error) { playing = true; queued = -1; const DetachedSong &song = queue.GetOrder(order); - FormatDebug(playlist_domain, "play %i:\"%s\"", order, song.GetURI()); + FormatDebug(playlist_domain, "play %u:\"%s\"", order, song.GetURI()); current = order; diff --git a/src/queue/Playlist.hxx b/src/queue/Playlist.hxx index 28bff09d1..16d449ba7 100644 --- a/src/queue/Playlist.hxx +++ b/src/queue/Playlist.hxx @@ -271,7 +271,7 @@ public: bool PlayPosition(PlayerControl &pc, int position, Error &error); - bool PlayOrder(PlayerControl &pc, int order, Error &error); + bool PlayOrder(PlayerControl &pc, unsigned order, Error &error); bool PlayId(PlayerControl &pc, int id, Error &error);