diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-03-08 15:35:31 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-03-08 15:46:13 +0100 |
commit | 83cb1b630a3b9da5ca92814de1bac4e7f0bdfb71 (patch) | |
tree | 767a67667da286cc414d9b7099fd5b524dce40e7 /libtransport/src/hicn/transport/interfaces/socket_producer.h | |
parent | 6aaef596f68a514036d5212fc8697bdaf371e5af (diff) |
[HICN-102] Remove warnings and compilation errors in hicn on windows
Change-Id: Ibb5d90fe35097a29fa6edccd3c7859d043888717
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/interfaces/socket_producer.h')
-rw-r--r-- | libtransport/src/hicn/transport/interfaces/socket_producer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtransport/src/hicn/transport/interfaces/socket_producer.h b/libtransport/src/hicn/transport/interfaces/socket_producer.h index 1fdbabe2e..d3738dc59 100644 --- a/libtransport/src/hicn/transport/interfaces/socket_producer.h +++ b/libtransport/src/hicn/transport/interfaces/socket_producer.h @@ -331,15 +331,15 @@ class ProducerSocket : public Socket<BasePortal>, uint32_t &socket_option_value) { switch (socket_option_key) { case GeneralTransportOptions::INPUT_BUFFER_SIZE: - socket_option_value = input_buffer_capacity_; + socket_option_value = (uint32_t)input_buffer_capacity_; break; case GeneralTransportOptions::OUTPUT_BUFFER_SIZE: - socket_option_value = output_buffer_.getLimit(); + socket_option_value = (uint32_t)output_buffer_.getLimit(); break; case GeneralTransportOptions::DATA_PACKET_SIZE: - socket_option_value = data_packet_size_; + socket_option_value = (uint32_t)data_packet_size_; break; case GeneralTransportOptions::CONTENT_OBJECT_EXPIRY_TIME: |