mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +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
@ -200,7 +200,7 @@ void BSAFile::readHeader()
|
||||
input.read(&stringBuf[0], stringBuf.size());
|
||||
|
||||
// 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
|
||||
// relative to this. 12 header bytes + directory + hash table
|
||||
|
Loading…
Reference in New Issue
Block a user