[Scummvm-git-logs] scummvm master -> 9b28947216d31ae03342ad5ae186b548e4628447
digitall
noreply at scummvm.org
Sun May 19 03:02:28 UTC 2024
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:
9b28947216 DIRECTOR: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings
Commit: 9b28947216d31ae03342ad5ae186b548e4628447
https://github.com/scummvm/scummvm/commit/9b28947216d31ae03342ad5ae186b548e4628447
Author: D G Turner (digitall at scummvm.org)
Date: 2024-05-19T04:02:00+01:00
Commit Message:
DIRECTOR: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings
Changed paths:
engines/director/debugtools.cpp
diff --git a/engines/director/debugtools.cpp b/engines/director/debugtools.cpp
index c9f9b9e6cba..4cbdd991eca 100644
--- a/engines/director/debugtools.cpp
+++ b/engines/director/debugtools.cpp
@@ -1486,7 +1486,7 @@ static void showScore() {
uint numChannels = score->_scoreCache[0]->_sprites.size();
uint tableColumns = MAX(numFrames, 25U); // Set minimal table width to 25
- int currentFrameNum = score->getCurrentFrameNum();
+ uint currentFrameNum = score->getCurrentFrameNum();
ImU32 cell_bg_color = ImGui::GetColorU32(ImVec4(0.7f, 0.7f, 0.0f, 0.65f));
if (ImGui::BeginTable("Score", tableColumns + 1,
@@ -1499,7 +1499,7 @@ static void showScore() {
ImGui::TableSetupColumn(Common::String::format("%-2d", i + 1).c_str(), flags);
ImGui::TableHeadersRow();
- for (int ch = 0; ch < numChannels - 1; ch++) {
+ for (int ch = 0; ch < (int)numChannels - 1; ch++) {
ImGui::TableNextRow();
ImGui::TableNextColumn();
More information about the Scummvm-git-logs
mailing list