diff --git a/math/mathcore/src/Integrator.cxx b/math/mathcore/src/Integrator.cxx index e4e2ad5aab1be..cddb9a4ef72a3 100644 --- a/math/mathcore/src/Integrator.cxx +++ b/math/mathcore/src/Integrator.cxx @@ -163,7 +163,7 @@ VirtualIntegratorOneDim * IntegratorOneDim::CreateIntegrator(IntegrationOneDim:: // plugin manager requires a string std::string typeName = GetName(type); - ig = reinterpret_cast( h->ExecPlugin(5,typeName.c_str(), rule, absTol, relTol, size ) ); + ig = reinterpret_cast( h->ExecPlugin(5,typeName.c_str(), rule, absTol, relTol, (size_t) size ) ); assert(ig != nullptr); } #ifdef DEBUG