Compare with stream position instead of int.

Fixes compilation of Debug build on Windows.
actorid
Michael Mc Donnell 12 years ago
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…
Cancel
Save