queue/Playlist: pass unsigned to PlayOrder()
This commit is contained in:
parent
7b70153068
commit
91fb7fa3d8
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user