[Scummvm-git-logs] scummvm master -> 2e441b12e69912f663a7db7db723559dc22c8cae
orgads
noreply at scummvm.org
Fri Aug 12 14:07:27 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2e441b12e6 COMMON: Fix compiler warning on Win64
Commit: 2e441b12e69912f663a7db7db723559dc22c8cae
https://github.com/scummvm/scummvm/commit/2e441b12e69912f663a7db7db723559dc22c8cae
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2022-08-12T17:06:21+03:00
Commit Message:
COMMON: Fix compiler warning on Win64
Amends 7d4d135b99d7454b2f4d3a8c25e0ed47828a759f.
Changed paths:
common/macresman.cpp
diff --git a/common/macresman.cpp b/common/macresman.cpp
index 425c77b3d8d..676e4c0e128 100644
--- a/common/macresman.cpp
+++ b/common/macresman.cpp
@@ -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);
More information about the Scummvm-git-logs
mailing list