diff --git a/xs/src/slic3r/AppControllerWx.cpp b/xs/src/slic3r/AppControllerWx.cpp index 8dd6643d5..4e116c7b9 100644 --- a/xs/src/slic3r/AppControllerWx.cpp +++ b/xs/src/slic3r/AppControllerWx.cpp @@ -229,7 +229,7 @@ class Wrapper: public IProgressIndicator, public wxEvtHandler { if(!gauge_->IsShown()) showProgress(true); stbar_->SetStatusText(message_); - if(st == gauge_->GetRange()) { + if(static_cast(st) == gauge_->GetRange()) { gauge_->SetValue(0); showProgress(false); } else {