From 836ca8cca791128595d9514b6d03a47dc32dd7a4 Mon Sep 17 00:00:00 2001 From: "Alexander B. Schmidt" Date: Sun, 4 Nov 2012 00:32:44 +0100 Subject: [PATCH 1/1] ... --- configcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configcache.cpp b/configcache.cpp index af0a206..f00e187 100644 --- a/configcache.cpp +++ b/configcache.cpp @@ -115,7 +115,7 @@ bool configcache::readConfig() std::streampos fsize = inFile.tellg(); inFile.seekg( 0, std::ios::end ); fsize = inFile.tellg() - fsize; - if( fsize == 0 ) { + if( (int)fsize == 0 ) { *out->log << "CCACHE: dat-file has zero length! Skipping." << endl << flush; inFile.close(); continue; -- 2.39.5