From 78bc688a7fa601900502cf1821bd396e2a946af8 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Mon, 10 Sep 2018 13:48:35 +0200 Subject: Fixed compile on Linux --- xs/src/libslic3r/GCodeTimeEstimator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs') diff --git a/xs/src/libslic3r/GCodeTimeEstimator.cpp b/xs/src/libslic3r/GCodeTimeEstimator.cpp index f4f6472e5..7471367fe 100644 --- a/xs/src/libslic3r/GCodeTimeEstimator.cpp +++ b/xs/src/libslic3r/GCodeTimeEstimator.cpp @@ -301,7 +301,7 @@ namespace Slic3r { if (((_mode == Normal) && (gcode_line == Normal_First_M73_Output_Placeholder_Tag)) || ((_mode == Silent) && (gcode_line == Silent_First_M73_Output_Placeholder_Tag))) { - sprintf(time_line, time_mask.c_str(), std::to_string(0), _get_time_minutes(_time).c_str()); + sprintf(time_line, time_mask.c_str(), "0", _get_time_minutes(_time).c_str()); gcode_line = time_line; } else -- cgit v1.2.3