From 9dc6699229246406269c502237da5b78303eefb8 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Mon, 20 May 2019 12:29:14 +0200 Subject: [PATCH] Eliminate some warnings --- src/libslic3r/SLA/SLASupportTree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/SLA/SLASupportTree.cpp b/src/libslic3r/SLA/SLASupportTree.cpp index 1e139ebfb..cb2001024 100644 --- a/src/libslic3r/SLA/SLASupportTree.cpp +++ b/src/libslic3r/SLA/SLASupportTree.cpp @@ -757,8 +757,8 @@ public: template inline const Pillar& pillar(T id) const { static_assert(std::is_integral::value, "Invalid index type"); - assert(id >= 0 && id < m_pillars.size() && - id < std::numeric_limits::max()); + assert(id >= 0 && size_t(id) < m_pillars.size() && + size_t(id) < std::numeric_limits::max()); return m_pillars[size_t(id)]; }