From 3b0308fdacea0b9a4cdcfbbee511b540ff3f9735 Mon Sep 17 00:00:00 2001 From: Owen Arnold <owen.arnold@stfc.ac.uk> Date: Mon, 26 Oct 2015 16:18:32 +0000 Subject: [PATCH] refs #13989. Fix warning. --- MantidQt/CustomInterfaces/src/ReflMainViewPresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MantidQt/CustomInterfaces/src/ReflMainViewPresenter.cpp b/MantidQt/CustomInterfaces/src/ReflMainViewPresenter.cpp index f030bbc039b..38a1a375639 100644 --- a/MantidQt/CustomInterfaces/src/ReflMainViewPresenter.cpp +++ b/MantidQt/CustomInterfaces/src/ReflMainViewPresenter.cpp @@ -57,7 +57,7 @@ public: throw std::runtime_error("ProgressableView is null"); } m_progressableView->clearProgress(); - m_progressableView->setProgressRange(start, end); + m_progressableView->setProgressRange(static_cast<int>(start), static_cast<int>(end)); } void doReport(const std::string &) { -- GitLab