From db0e56fc6ef7d5775e9c8478d94156dee74c0868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Tue, 26 Aug 2025 16:46:32 +0200 Subject: [PATCH] Fix a few warnings --- src/gui/game/tool/SignTool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/game/tool/SignTool.cpp b/src/gui/game/tool/SignTool.cpp index dbee3c780..3cbb64378 100644 --- a/src/gui/game/tool/SignTool.cpp +++ b/src/gui/game/tool/SignTool.cpp @@ -235,7 +235,7 @@ std::unique_ptr SignTool::GetIcon(int toolID, Vec2 size) void SignTool::Click(Simulation * sim, Brush const &brush, ui::Point position) { int signX, signY, signW, signH, signIndex = -1; - for (size_t i = 0; i < sim->signs.size(); i++) + for (int i = 0; i < int(sim->signs.size()); i++) { sim->signs[i].getDisplayText(sim, signX, signY, signW, signH); if (position.X > signX && position.X < signX+signW && position.Y > signY && position.Y < signY+signH)