VCRUISE: Fix GCC Compiler Warnings

This commit is contained in:
D G Turner 2023-05-18 01:24:38 +01:00
parent 2321decd30
commit 1c8af08a9b

View File

@ -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;
}