From ab3890dab55c75b5430edaff3b6f6a7e437bf147 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Wed, 31 Mar 2021 08:54:58 +0200 Subject: [PATCH] Follow-up of 3fce8398f033038825eab80fb0605af53278ad45 - Fixed build warnings --- src/libslic3r/GCode/GCodeProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/GCodeProcessor.cpp b/src/libslic3r/GCode/GCodeProcessor.cpp index c99546704..7c89cf467 100644 --- a/src/libslic3r/GCode/GCodeProcessor.cpp +++ b/src/libslic3r/GCode/GCodeProcessor.cpp @@ -606,7 +606,7 @@ void GCodeProcessor::TimeProcessor::post_process(const std::string& filename) } if (is_last) { - if (std::distance(machine.stop_times.begin(), it_stop) == machine.stop_times.size() - 1) + if (std::distance(machine.stop_times.begin(), it_stop) == static_cast(machine.stop_times.size() - 1)) export_line += format_line_M73_stop_int(machine.line_m73_stop_mask.c_str(), to_export_stop); else export_line += format_line_M73_stop_float(machine.line_m73_stop_mask.c_str(), time_in_last_minute(it_stop->elapsed_time - it->elapsed_time));