[Scummvm-git-logs] scummvm master -> c38ea63b90455ea118e62ce0615fd4827fa12fb7
digitall
noreply at scummvm.org
Fri Nov 4 06:21:28 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:
c38ea63b90 MTROPOLIS: Fix Comparison with Correct Enumerated Type
Commit: c38ea63b90455ea118e62ce0615fd4827fa12fb7
https://github.com/scummvm/scummvm/commit/c38ea63b90455ea118e62ce0615fd4827fa12fb7
Author: D G Turner (digitall at scummvm.org)
Date: 2022-11-04T06:20:21Z
Commit Message:
MTROPOLIS: Fix Comparison with Correct Enumerated Type
This was causing a GCC compiler warning regarding the mismatched
type comparison.
Changed paths:
engines/mtropolis/boot.cpp
diff --git a/engines/mtropolis/boot.cpp b/engines/mtropolis/boot.cpp
index 0a3d6e73d7c..a6b83ac70c0 100644
--- a/engines/mtropolis/boot.cpp
+++ b/engines/mtropolis/boot.cpp
@@ -480,7 +480,7 @@ Common::SeekableReadStream *SPQRGameDataHandler::FakeFileArchive::createReadStre
return new Common::MemoryReadStream(clonedData, forkData->size(), DisposeAfterUse::YES);
}
-SPQRGameDataHandler::SPQRGameDataHandler(const Game &game, const MTropolisGameDescription &gameDesc) : GameDataHandler(game, gameDesc), _isMac(gameDesc.desc.platform == kProjectPlatformMacintosh) {
+SPQRGameDataHandler::SPQRGameDataHandler(const Game &game, const MTropolisGameDescription &gameDesc) : GameDataHandler(game, gameDesc), _isMac(gameDesc.desc.platform == Common::kPlatformMacintosh) {
}
void SPQRGameDataHandler::unpackAdditionalFiles(Common::Array<Common::SharedPtr<ProjectPersistentResource> > &persistentResources, Common::Array<FileIdentification> &files) {
More information about the Scummvm-git-logs
mailing list