From 9f85634bcf1d9d58ba395716132ef03bbc419ebf Mon Sep 17 00:00:00 2001 From: Jonne Lehtinen Date: Sat, 27 May 2006 21:43:38 +0300 Subject: [PATCH] OTHER: NOW they should be correct types all (tested all, I think) --- PlaylistList.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {