1
0
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:
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());
// 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