aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-01-24 13:43:28 +0100
committerMauro Sardara <msardara@cisco.com>2019-01-24 13:43:28 +0100
commit9f9be9f2b6027be75395bd09d47f70e7ccce0e7f (patch)
treeeec7e309a8b33f5036a69d4547ce9bfbd2c0d1a3
parent31e45f091ead0360afdd564e54a07dd963f296d4 (diff)
Fix format string for printing size_t type
Change-Id: Iee4ea1fbb4f9f1f68dbced2d11030dde2d3d88fb Signed-off-by: Mauro Sardara <msardara@cisco.com>
-rw-r--r--libtransport/src/hicn/transport/interfaces/full_duplex_socket.cc2
1 files changed, 1 insertions, 1 deletions
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 {