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)"; }