From f126f86da5acf088f24e97ecb32f9ba5a1789aa4 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Fri, 8 Feb 2019 15:11:57 +0100 Subject: [HICN-44] Remove warnings libhicn (lib) on windows Change-Id: I637e9c1e05de8a9e6743ea729b62d3eedd6ca54b Signed-off-by: Angelo Mantellini --- lib/src/protocol/ah.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/src/protocol/ah.c') diff --git a/lib/src/protocol/ah.c b/lib/src/protocol/ah.c index c1395dee8..8bd9bca83 100644 --- a/lib/src/protocol/ah.c +++ b/lib/src/protocol/ah.c @@ -163,7 +163,7 @@ int ah_set_signature_size (hicn_type_t type, hicn_protocol_t * h, const size_t signature_size) { - h->ah.payloadlen = signature_size >> 2; + h->ah.payloadlen = (u8)(signature_size >> 2); return HICN_LIB_ERROR_NONE; } -- cgit 1.2.3-korg