From 9f9be9f2b6027be75395bd09d47f70e7ccce0e7f Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 24 Jan 2019 13:43:28 +0100 Subject: Fix format string for printing size_t type Change-Id: Iee4ea1fbb4f9f1f68dbced2d11030dde2d3d88fb Signed-off-by: Mauro Sardara --- libtransport/src/hicn/transport/interfaces/full_duplex_socket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtransport') diff --git a/libtransport/src/hicn/transport/interfaces/full_duplex_socket.cc b/libtransport/src/hicn/transport/interfaces/full_duplex_socket.cc index 37e1d7b3e..e06858cc3 100644 --- a/libtransport/src/hicn/transport/interfaces/full_duplex_socket.cc +++ b/libtransport/src/hicn/transport/interfaces/full_duplex_socket.cc @@ -397,7 +397,7 @@ void AsyncFullDuplexSocket::onContentRetrieved(ConsumerSocket &s, return; } - TRANSPORT_LOGI("Received content with size %lu", size); + TRANSPORT_LOGI("Received content with size %zu", size); if (!ec) { read_callback_->readBufferAvailable(std::move(*receive_buffer_)); } else { -- cgit 1.2.3-korg