From ee9ff16706eda34a66341fe8b65491ef9189aa5c Mon Sep 17 00:00:00 2001 From: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> Date: Thu, 1 Apr 2021 13:45:45 -0400 Subject: [PATCH] multiplexed-channel: fix compilation warning Change-Id: I75fd27f851231f23973b3226920ebba19ab7a945 --- src/jamidht/multiplexed_socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jamidht/multiplexed_socket.cpp b/src/jamidht/multiplexed_socket.cpp index c99f4319ae..37b888c2b6 100644 --- a/src/jamidht/multiplexed_socket.cpp +++ b/src/jamidht/multiplexed_socket.cpp @@ -330,7 +330,7 @@ MultiplexedSocket::Impl::handleChannelPacket(uint16_t channel, std::vector<uint8 } } else if (pkt.size() != 0) { std::string p = std::string(pkt.begin(), pkt.end()); - JAMI_WARN("Non existing channel: %u - %.*s - %lu", channel, p.c_str(), pkt.size()); + JAMI_WARN("Non existing channel: %u - %.*s", channel, (int) pkt.size(), p.c_str()); } } -- GitLab