OTHER: Use (hopefully) correct types in PlaylistChanged function

This commit is contained in:
Jonne Lehtinen 2006-05-27 21:30:29 +03:00 committed by Tobias Rundstrom
parent 1443d75e3a
commit 336c95805f

View file

@ -116,7 +116,7 @@ PlaylistList::setStatus (Xmms::Playback::Status s)
void void
PlaylistList::playlistChanged (const Xmms::Dict &change) PlaylistList::playlistChanged (const Xmms::Dict &change)
{ {
uint signal = change.get<uint32_t> ("type"); uint signal = change.get<int32_t> ("type");
XMMSHandler &xmmsh = XMMSHandler::getInstance (); XMMSHandler &xmmsh = XMMSHandler::getInstance ();
switch (signal) { switch (signal) {
case XMMS_PLAYLIST_CHANGED_ADD: case XMMS_PLAYLIST_CHANGED_ADD: