From: Wouter Wijngaards Date: Wed, 23 Mar 2016 08:37:27 +0000 (+0000) Subject: please lint. X-Git-Tag: release-1.5.9rc1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8df3634cca7cee67f6a860e0acc2400e23b1176;p=thirdparty%2Funbound.git please lint. git-svn-id: file:///svn/unbound/trunk@3692 be551aaa-1e26-0410-a405-d3ace91eadb9 --- 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;