From 692f3f682788a8c45845bb3c4640c767fa66f46d Mon Sep 17 00:00:00 2001 From: supermerill Date: Wed, 28 Nov 2018 15:35:27 +0100 Subject: [PATCH] resolve warnings --- xs/src/libslic3r/Surface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xs/src/libslic3r/Surface.cpp b/xs/src/libslic3r/Surface.cpp index 061909d1d..4d45cc6e7 100644 --- a/xs/src/libslic3r/Surface.cpp +++ b/xs/src/libslic3r/Surface.cpp @@ -16,7 +16,7 @@ Surface::area() const bool Surface::is_solid() const { - return this->surface_type & (stTop | stBottom | stSolid | stBridge) != 0; + return (this->surface_type & (stTop | stBottom | stSolid | stBridge)) != 0; } bool @@ -28,25 +28,25 @@ Surface::is_external() const bool Surface::is_internal() const { - return this->surface_type & stInternal != 0; + return (this->surface_type & stInternal) != 0; } bool Surface::is_bottom() const { - return this->surface_type & stBottom != 0; + return (this->surface_type & stBottom) != 0; } bool Surface::is_top() const { - return this->surface_type & stTop != 0; + return (this->surface_type & stTop) != 0; } bool Surface::is_bridge() const { - return this->surface_type & stBridge != 0; + return (this->surface_type & stBridge) != 0; } }