diff --git a/src/core/math/ParserOMP.cpp b/src/core/math/ParserOMP.cpp index 46ab1b6877d056958ec9e2f5f122cdb36889aa74..c46dc4003042a8905a8c4963c2c9ffd99f6d3c12 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); }