fixed a few compilation warnings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-01-23 08:22:54 +00:00
parent 2e211a6904
commit bf11765ff1
5 changed files with 9 additions and 12 deletions

View file

@ -263,7 +263,7 @@ void HashCache::save()
std::cerr << "Cannot open encrypted file cache for writing: " << _path+".bin.tmp" << std::endl;
goto save_free;
}
if(fwrite(encryptedData,1,encDataLen,F) != encDataLen)
if(fwrite(encryptedData,1,encDataLen,F) != (uint32_t)encDataLen)
{
std::cerr << "Could not write entire encrypted hash cache file. Out of disc space??" << std::endl;
fclose(F) ;