--- nzbget-0.2.3-orig/ArticleDownloader.cpp 2006-05-02 01:18:35.127138980 +0000 +++ nzbget-0.2.3-orig/ArticleDownloader.cpp 2006-05-02 01:18:50.731853304 +0000 @@ -184,7 +184,7 @@ line = pConnection->ReadLine(); // Have we encountered a timeout? - if( (int)line == EOF ) + if( (long)line == EOF ) { perror( "pConnection->ReadLine() encountered error" ); m_pJob->SetStatus(JOBSTATUS_FAILED);