From: Alexander B. Schmidt Date: Sat, 3 Nov 2012 23:32:44 +0000 (+0100) Subject: ... X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/836ca8cca791128595d9514b6d03a47dc32dd7a4?hp=974356cea3f71fcefd5a970cb6441e158e39b3ed ... --- 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;