eliminate remained compiler warnings

This commit is contained in:
Andrzej Rybczak
2008-12-12 22:50:22 +01:00
parent aac3ce17ee
commit c71f07df6d
5 changed files with 10 additions and 10 deletions

View File

@@ -853,7 +853,7 @@ int Connection::CheckForErrors()
{
// this is to avoid setting too small max size as we check it before fetching current status
// setting real max playlist length is in UpdateStatus()
if (itsConnection->errorCode == MPD_ACK_ERROR_PLAYLIST_MAX && itsMaxPlaylistLength == -1)
if (itsConnection->errorCode == MPD_ACK_ERROR_PLAYLIST_MAX && itsMaxPlaylistLength == size_t(-1))
itsMaxPlaylistLength = 0;
if (itsErrorHandler)