From b8df3634cca7cee67f6a860e0acc2400e23b1176 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 23 Mar 2016 08:37:27 +0000 Subject: [PATCH] please lint. git-svn-id: file:///svn/unbound/trunk@3692 be551aaa-1e26-0410-a405-d3ace91eadb9 --- validator/val_secalgo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validator/val_secalgo.c b/validator/val_secalgo.c index 00184e710..2eb4ae578 100644 --- a/validator/val_secalgo.c +++ b/validator/val_secalgo.c @@ -320,9 +320,9 @@ i * the '44' is the total remaining length. return 0; p = (uint8_t*)*sig; p[0] = pre[0]; - p[1] = raw_sig_len-2; + p[1] = (uint8_t)(raw_sig_len-2); p[2] = pre[2]; - p[3] = bnsize + r_high - r_rem; + p[3] = (uint8_t)(bnsize + r_high - r_rem); p += 4; if(r_high) { *p = 0; -- 2.47.3