diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-03-15 14:16:15 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-03-15 17:38:46 +0100 |
commit | a1e949253043fe1a644f71cef0572ede30b752be (patch) | |
tree | 6cbe2288a82942014edb074d9b194771446b29b7 /libtransport | |
parent | e1033d6fac2ad70891a96695284b2c1e7013c91c (diff) |
[HICN-114] Update Hicn Http Server to hicn fdio stack
Change-Id: Ic808c93c14f905fd403e60be82ce319757e84c9f
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'libtransport')
-rw-r--r-- | libtransport/src/hicn/transport/interfaces/rtc_socket_producer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/interfaces/rtc_socket_producer.cc b/libtransport/src/hicn/transport/interfaces/rtc_socket_producer.cc index 5a432a99f..87cf27b75 100644 --- a/libtransport/src/hicn/transport/interfaces/rtc_socket_producer.cc +++ b/libtransport/src/hicn/transport/interfaces/rtc_socket_producer.cc @@ -82,10 +82,10 @@ void RTCProducerSocket::registerPrefix(const Prefix &producer_namespace) { switch (family) { case AF_INET6: - headerSize_ = Packet::getHeaderSizeFromFormat(HF_INET6_TCP); + headerSize_ = (uint32_t)Packet::getHeaderSizeFromFormat(HF_INET6_TCP); break; case AF_INET: - headerSize_ = Packet::getHeaderSizeFromFormat(HF_INET_TCP); + headerSize_ = (uint32_t)Packet::getHeaderSizeFromFormat(HF_INET_TCP); break; default: throw errors::RuntimeException("Unknown name format."); |