diff --git a/PlaylistList.cpp b/PlaylistList.cpp index bab6c71..a7fe817 100644 --- a/PlaylistList.cpp +++ b/PlaylistList.cpp @@ -116,7 +116,7 @@ PlaylistList::setStatus (Xmms::Playback::Status s) void PlaylistList::playlistChanged (const Xmms::Dict &change) { - uint signal = change.get ("type"); + int signal = change.get ("type"); XMMSHandler &xmmsh = XMMSHandler::getInstance (); switch (signal) { case XMMS_PLAYLIST_CHANGED_ADD: @@ -132,7 +132,7 @@ PlaylistList::playlistChanged (const Xmms::Dict &change) case XMMS_PLAYLIST_CHANGED_INSERT: { uint id = change.get ("id"); - uint pos = change.get ("position"); + int pos = change.get ("position"); if (m_itemmap->contains (id)) { addItem (m_itemmap->value (id)); @@ -144,7 +144,7 @@ PlaylistList::playlistChanged (const Xmms::Dict &change) break; case XMMS_PLAYLIST_CHANGED_REMOVE: { - uint pos = change.get ("position"); + int pos = change.get ("position"); PlaylistItem *i = m_items->value (pos); if (!i) {