COMMON: Fix compiler warning on Win64

Amends 7d4d135b99d7454b2f4d3a8c25e0ed47828a759f.
This commit is contained in:
Orgad Shaneh 2022-08-12 17:04:20 +03:00
parent 72bc43d8f2
commit 2e441b12e6

View File

@ -598,7 +598,7 @@ void MacResManager::readMap() {
_stream->seek(_mapOffset + _resMap.typeOffset + 2);
_resTypes = new ResType[_resMap.numTypes];
debug(8, "numResTypes: %d total size: %lu", _resMap.numTypes, _stream->size());
debug(8, "numResTypes: %d total size: %u", _resMap.numTypes, unsigned(_stream->size()));
if (_stream->pos() + _resMap.numTypes * 8 > _stream->size())
error("MacResManager::readMap(): incorrect resource map, too big, %d types", _resMap.numTypes);