long file support
This commit is contained in:
parent
d39c0400c9
commit
829c70d320
@ -145,7 +145,7 @@ void Concordia::loadRAMIndexFromDisk() {
|
|||||||
std::ifstream markersFile;
|
std::ifstream markersFile;
|
||||||
markersFile.open(_getMarkersFilePath().c_str(), std::ios::in
|
markersFile.open(_getMarkersFilePath().c_str(), std::ios::in
|
||||||
| std::ios::ate | std::ios::binary);
|
| std::ios::ate | std::ios::binary);
|
||||||
saidx_t maFileSize = markersFile.tellg();
|
long maFileSize = markersFile.tellg();
|
||||||
if (maFileSize > 0) {
|
if (maFileSize > 0) {
|
||||||
markersFile.seekg(0, std::ios::beg);
|
markersFile.seekg(0, std::ios::beg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user