From e72b285ef86df37c649d0cdb60f983803b8067cf Mon Sep 17 00:00:00 2001
From: Nils Kohl <nils.kohl@fau.de>
Date: Thu, 21 Mar 2019 10:19:21 +0100
Subject: [PATCH] Fixed conversion issue.

---
 src/core/math/ParserOMP.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/math/ParserOMP.cpp b/src/core/math/ParserOMP.cpp
index 46ab1b687..c46dc4003 100644
--- a/src/core/math/ParserOMP.cpp
+++ b/src/core/math/ParserOMP.cpp
@@ -51,7 +51,7 @@ void FunctionParserOMP::parse(const std::string & eq)
    #ifdef _OPENMP
    #pragma omp parallel for schedule(static)
    #endif
-   for (uint_t t = 0; t < omp_get_max_threads(); ++t)
+   for (uint_t t = 0; t < uint_c( omp_get_max_threads() ); ++t)
    {
       parser_[t].parse(eq);
    }
-- 
GitLab