From 0d82ad70a71f591608a0cf18c39d07a7bd0e18c4 Mon Sep 17 00:00:00 2001 From: Roman Nozdrin Date: Mon, 11 May 2020 15:27:14 +0300 Subject: [PATCH] MCOL-3986 Explicit cast for logging::Message::Args::add calls. --- utils/threadpool/threadpool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/threadpool/threadpool.cpp b/utils/threadpool/threadpool.cpp index da2b5f24f..fbaadbd93 100644 --- a/utils/threadpool/threadpool.cpp +++ b/utils/threadpool/threadpool.cpp @@ -298,10 +298,10 @@ uint64_t ThreadPool::invoke(const Functor_T& threadfunc) logging::Message::Args args; logging::Message message(5); args.add("invoke: Blocked waiting for thread. Count "); - args.add(fThreadCount); + args.add(static_cast(fThreadCount)); args.add("max "); - args.add(fMaxThreads); - message.format( args ); + args.add(static_cast(fMaxThreads)); + message.format(args); logging::LoggingID lid(22); logging::MessageLog ml(lid); ml.logWarningMessage( message );