long file support

This commit is contained in:
Rafał Jaworski 2019-02-26 13:46:57 +01:00
parent d39c0400c9
commit 829c70d320

View File

@ -145,7 +145,7 @@ void Concordia::loadRAMIndexFromDisk() {
std::ifstream markersFile;
markersFile.open(_getMarkersFilePath().c_str(), std::ios::in
| std::ios::ate | std::ios::binary);
saidx_t maFileSize = markersFile.tellg();
long maFileSize = markersFile.tellg();
if (maFileSize > 0) {
markersFile.seekg(0, std::ios::beg);