mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 20:49:41 +00:00
Compare with stream position instead of int.
Fixes compilation of Debug build on Windows.
This commit is contained in:
parent
e9aac4512b
commit
7f802a22b5
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ void BSAFile::readHeader()
|
||||||
input.read(&stringBuf[0], stringBuf.size());
|
input.read(&stringBuf[0], stringBuf.size());
|
||||||
|
|
||||||
// Check our position
|
// Check our position
|
||||||
assert(input.tellg() == static_cast<int> (12+dirsize));
|
assert(input.tellg() == std::streampos(12+dirsize));
|
||||||
|
|
||||||
// Calculate the offset of the data buffer. All file offsets are
|
// Calculate the offset of the data buffer. All file offsets are
|
||||||
// relative to this. 12 header bytes + directory + hash table
|
// relative to this. 12 header bytes + directory + hash table
|
||||||
|
|
Loading…
Reference in a new issue