From 83cb1b630a3b9da5ca92814de1bac4e7f0bdfb71 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Fri, 8 Mar 2019 15:35:31 +0100 Subject: [HICN-102] Remove warnings and compilation errors in hicn on windows Change-Id: Ibb5d90fe35097a29fa6edccd3c7859d043888717 Signed-off-by: Angelo Mantellini --- libtransport/src/hicn/transport/interfaces/socket_consumer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libtransport/src/hicn/transport/interfaces/socket_consumer.h') diff --git a/libtransport/src/hicn/transport/interfaces/socket_consumer.h b/libtransport/src/hicn/transport/interfaces/socket_consumer.h index a50aeb583..ceed53954 100644 --- a/libtransport/src/hicn/transport/interfaces/socket_consumer.h +++ b/libtransport/src/hicn/transport/interfaces/socket_consumer.h @@ -430,11 +430,11 @@ class ConsumerSocket : public BaseSocket { uint32_t &socket_option_value) { switch (socket_option_key) { case GeneralTransportOptions::INPUT_BUFFER_SIZE: - socket_option_value = input_buffer_size_; + socket_option_value = (uint32_t)input_buffer_size_; break; case GeneralTransportOptions::OUTPUT_BUFFER_SIZE: - socket_option_value = output_buffer_size_; + socket_option_value = (uint32_t)output_buffer_size_; break; case GeneralTransportOptions::MAX_INTEREST_RETX: -- cgit 1.2.3-korg