From 81b809f2a178079ffc03a89a6f0e4e9ece5d9e56 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Tue, 16 Jun 2020 14:39:08 +0200 Subject: [PATCH] Fixed broken compilation of Perl bindings. --- src/libslic3r/libslic3r.h | 2 +- xs/xsp/Geometry.xsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/libslic3r.h b/src/libslic3r/libslic3r.h index 2f7932a4e4..e3816b87f9 100644 --- a/src/libslic3r/libslic3r.h +++ b/src/libslic3r/libslic3r.h @@ -26,7 +26,7 @@ // Saves around 32% RAM after slicing step, 6.7% after G-code export (tested on PrusaSlicer 2.2.0 final). using coord_t = int32_t; #else -//FIXME At least FillRectilinear2 requires coord_t to be 32bit. +//FIXME At least FillRectilinear2 and std::boost Voronoi require coord_t to be 32bit. typedef int64_t coord_t; #endif diff --git a/xs/xsp/Geometry.xsp b/xs/xsp/Geometry.xsp index 5d6454e8a8..e44d169493 100644 --- a/xs/xsp/Geometry.xsp +++ b/xs/xsp/Geometry.xsp @@ -13,7 +13,7 @@ Pointfs arrange(size_t total_parts, Vec2d* part, coordf_t dist, BoundingBoxf* bb %code{% Pointfs points; if (! Slic3r::Geometry::arrange(total_parts, *part, dist, bb, points)) - CONFESS(PRINTF_ZU " parts won't fit in your print area!\n", total_parts); + CONFESS("%zu parts won't fit in your print area!\n", total_parts); RETVAL = points; %};