fixed bug with big files. To be tested.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-02-24 22:22:59 +00:00
parent f6dc46da73
commit ea84a81886

View File

@ -540,7 +540,7 @@ bool RsDirUtil::getFileHash(const std::string& filepath, std::string &hash, uint
if (NULL == (fd = _wfopen(filepathW.c_str(), L"rb")))
return false;
#else
if (NULL == (fd = fopen(filepath.c_str(), "rb")))
if (NULL == (fd = fopen64(filepath.c_str(), "rb")))
return false;
#endif