silence unsigned / signed int comparison
authorspiff <spiff@xbmc.org>
Sat, 5 Nov 2011 10:30:10 +0000 (11:30 +0100)
committerspiff <spiff@xbmc.org>
Sat, 5 Nov 2011 10:32:10 +0000 (11:32 +0100)
xbmc/ApplicationMessenger.cpp

index 94900dd..001b5a4 100644 (file)
@@ -332,7 +332,7 @@ case TMSG_POWERDOWN:
         }
         else if (pMsg->dwParam1 == PLAYLIST_MUSIC || pMsg->dwParam1 == PLAYLIST_VIDEO)
         {
-          if (g_playlistPlayer.GetCurrentPlaylist() != pMsg->dwParam1)
+          if (g_playlistPlayer.GetCurrentPlaylist() != (int)pMsg->dwParam1)
             g_playlistPlayer.SetCurrentPlaylist(pMsg->dwParam1);
 
           PlayListPlayerPlay(pMsg->dwParam2);