From b66402c62d9e92beaf57609b2e715f762a409806 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Mon, 21 Aug 2023 10:18:28 +0200 Subject: [PATCH] Fixed warning --- src/slic3r/GUI/GCodeViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GCodeViewer.cpp b/src/slic3r/GUI/GCodeViewer.cpp index 9301132c26..b23fd76b70 100644 --- a/src/slic3r/GUI/GCodeViewer.cpp +++ b/src/slic3r/GUI/GCodeViewer.cpp @@ -2271,7 +2271,7 @@ void GCodeViewer::load_shells(const Print& print) // removes volumes which are completely below bed int i = 0; - while (i < m_shells.volumes.volumes.size()) { + while (i < (int)m_shells.volumes.volumes.size()) { GLVolume* v = m_shells.volumes.volumes[i]; if (v->transformed_bounding_box().max.z() < SINKING_MIN_Z_THRESHOLD + EPSILON) { delete v;