diff options
author | Max Kellermann <max@duempel.org> | 2016-03-18 17:49:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-18 17:49:29 +0100 |
commit | 91fb7fa3d874424533298be50abce943da36c65e (patch) | |
tree | 6e888876d18a9b34767812d303d4e894ee3d9591 /src/queue/Playlist.cxx | |
parent | 7b701530688d9a44ba6a622d18db5fe350a234fb (diff) |
queue/Playlist: pass unsigned to PlayOrder()
Diffstat (limited to 'src/queue/Playlist.cxx')
-rw-r--r-- | src/queue/Playlist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |