diff --git a/libretroshare/src/util/rsdir.cc b/libretroshare/src/util/rsdir.cc index 27604b7ec..de4075f9e 100644 --- a/libretroshare/src/util/rsdir.cc +++ b/libretroshare/src/util/rsdir.cc @@ -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