diff options
Diffstat (limited to 'lib/src/protocol/ah.c')
-rw-r--r-- | lib/src/protocol/ah.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |