]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
please lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 23 Mar 2016 08:42:18 +0000 (08:42 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 23 Mar 2016 08:42:18 +0000 (08:42 +0000)
git-svn-id: file:///svn/unbound/trunk@3693 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/val_secalgo.c

index 2eb4ae5780cf5bf01d5f4be593f36b2291d3cc58..ca308d5e0cbdc1abe8b04378337fb2d6946bac14 100644 (file)
@@ -332,7 +332,7 @@ i    * the '44' is the total remaining length.
        p += bnsize-r_rem;
        memmove(p, mid, (size_t)mid_len-1);
        p += mid_len-1;
-       *p = bnsize + s_high - s_rem;
+       *p = (uint8_t)(bnsize + s_high - s_rem);
        p += 1;
         if(s_high) {
                *p = 0;