--- kasablanca-0.4-orig/src/ftpthread.cpp 2004-07-13 21:32:32.000000000 +0100 +++ kasablanca-0.4.0.1/src/ftpthread.cpp 2004-07-30 17:34:06.035555832 +0100 @@ -1123,13 +1123,13 @@ for (i = 1; i < 13; i++) { loc = buffer.find(month[i], 0); - if (loc != string::npos) + if (loc != (unsigned int)string::npos) { month_int = i; break; } } - if( loc == string::npos ) + if( loc == (unsigned int)string::npos ) { qWarning("INFO: no month entry found"); loc = buffer.length();