blob: 0c7314c36bfd5f0e3d38e6d07e525ee0289f5470 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- 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();
|