1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 13:49:40 +00:00

Compare with stream position instead of int.

Fixes compilation of Debug build on Windows.
This commit is contained in:
Michael Mc Donnell 2012-08-01 17:50:42 -04:00
parent e9aac4512b
commit 7f802a22b5

View file

@ -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