[Scummvm-git-logs] scummvm master -> 1c8af08a9bdf83c83b3e4815495b229bd08c404f

digitall noreply at scummvm.org
Thu May 18 00:25:21 UTC 2023


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:
1c8af08a9b VCRUISE: Fix GCC Compiler Warnings


Commit: 1c8af08a9bdf83c83b3e4815495b229bd08c404f
    https://github.com/scummvm/scummvm/commit/1c8af08a9bdf83c83b3e4815495b229bd08c404f
Author: D G Turner (digitall at scummvm.org)
Date: 2023-05-18T01:24:38+01:00

Commit Message:
VCRUISE: Fix GCC Compiler Warnings

Changed paths:
    engines/vcruise/runtime.cpp


diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index c933aae84a5..40ad47afe86 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -2598,7 +2598,7 @@ void Runtime::loadDuplicateRooms() {
 				_roomDuplicationOffsets[roomNumber] = 1;
 			}
 		} else {
-			warning("Logic for room %u couldn't be checked for duplication");
+			warning("Logic for room %u couldn't be checked for duplication", roomNumber);
 		}
 	}
 
@@ -2984,7 +2984,7 @@ bool Runtime::dischargeIdleMouseMove() {
 	}
 
 	if (_gameID == GID_SCHIZM && !isOnInteraction) {
-		if (_traySection.rect.contains(_mousePos) && (_traySection.rect.right - _mousePos.x) < 88u) {
+		if (_traySection.rect.contains(_mousePos) && (_traySection.rect.right - _mousePos.x) < (int) 88u) {
 			isOnInteraction = true;
 			interactionID = kHeroChangeInteractionID;
 		}




More information about the Scummvm-git-logs mailing list