From 27277b11b4c4eed56c0faf9f20b06409a5bab941 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Fri, 11 Mar 2022 16:47:30 +0100 Subject: [PATCH] fix(Device): Warning about narrowing conversion --- fairmq/Device.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fairmq/Device.cxx b/fairmq/Device.cxx index a473ae90..bb876f2e 100644 --- a/fairmq/Device.cxx +++ b/fairmq/Device.cxx @@ -748,7 +748,7 @@ void Device::LogSocketRates() bytesOut.at(i) = bytesOutNew.at(i); msgOut.at(i) = msgOutNew.at(i); - LOG(info) << setw(chanNameLen) << filteredChannelNames.at(i) << ": " + LOG(info) << setw(static_cast(chanNameLen)) << filteredChannelNames.at(i) << ": " << "in: " << msgPerSecIn.at(i) << " (" << mbPerSecIn.at(i) << " MB) " << "out: " << msgPerSecOut.at(i) << " (" << mbPerSecOut.at(i) << " MB)"; }