[Scummvm-git-logs] scummvm master -> 1a370604a874ce189c3a08f47b711483a68b0278
digitall
noreply at scummvm.org
Mon Dec 8 02:45:35 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
1a370604a8 TOT: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings
Commit: 1a370604a874ce189c3a08f47b711483a68b0278
https://github.com/scummvm/scummvm/commit/1a370604a874ce189c3a08f47b711483a68b0278
Author: D G Turner (digitall at scummvm.org)
Date: 2025-12-08T02:45:00Z
Commit Message:
TOT: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings
Changed paths:
engines/tot/engine.cpp
engines/tot/tot.h
diff --git a/engines/tot/engine.cpp b/engines/tot/engine.cpp
index 4fb58a97752..8e5ede60778 100644
--- a/engines/tot/engine.cpp
+++ b/engines/tot/engine.cpp
@@ -881,7 +881,7 @@ void TotEngine::lookAtObject(byte objectCode) {
_mouse->show();
}
-void TotEngine::useInventoryObjectWithInventoryObject(uint objectCode1, uint objectCode2) {
+void TotEngine::useInventoryObjectWithInventoryObject(int16 objectCode1, int16 objectCode2) {
byte invIndex, indobj1, indobj2;
readObject(_sceneObjectsData, objectCode1, _curObject);
diff --git a/engines/tot/tot.h b/engines/tot/tot.h
index 89b218006c3..bedb4f3a5e6 100644
--- a/engines/tot/tot.h
+++ b/engines/tot/tot.h
@@ -91,7 +91,7 @@ private:
RoomFileRegister *readScreenDataFile(Common::SeekableReadStream *screenDataFile);
void lookAtObject(byte objectNumber);
- void useInventoryObjectWithInventoryObject(uint obj1, uint obj2);
+ void useInventoryObjectWithInventoryObject(int16 obj1, int16 obj2);
void pickupScreenObject();
void useScreenObject();
void openScreenObject();
More information about the Scummvm-git-logs
mailing list