From: Remi Gacogne Date: Fri, 14 Nov 2025 14:36:56 +0000 (+0100) Subject: dnsdist: Appease clang-tidy X-Git-Tag: rec-5.4.0-alpha1~69^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=053db2838d00af0a352800f2c8d68d72811d8891;p=thirdparty%2Fpdns.git dnsdist: Appease clang-tidy Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/dnsdist.cc b/pdns/dnsdistdist/dnsdist.cc index c7fbd98933..3b33d12de8 100644 --- a/pdns/dnsdistdist/dnsdist.cc +++ b/pdns/dnsdistdist/dnsdist.cc @@ -2235,7 +2235,7 @@ static void MultipleMessagesUDPClientThread(ClientState* clientState) fillMSGHdr(&msgVec[idx].msg_hdr, &recvData[idx].iov, &recvData[idx].cbuf, sizeof(recvData[idx].cbuf), reinterpret_cast(recvData[idx].packet.data()), maxIncomingPacketSize, &recvData[idx].remote); } - int msgsGot = vectSize; + int msgsGot = static_cast(vectSize); /* go now */ for (;;) {