]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 7 Jul 2016 10:27:16 +0000 (10:27 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 7 Jul 2016 10:27:16 +0000 (10:27 +0000)
git-svn-id: file:///svn/unbound/trunk@3812 be551aaa-1e26-0410-a405-d3ace91eadb9

services/localzone.c

index 80bb566c99df8f5f35711c4d189a566f8975478d..a2948a5eb0f45b7af1a09c3c1a0d4414ca4ec156 100644 (file)
@@ -1421,7 +1421,7 @@ lz_type(uint8_t *taglist, size_t taglen, uint8_t *taglist2, size_t taglen2,
                tagmatch = (taglist[i] & taglist2[i]);
                for(j=0; j<8 && tagmatch>0; j++) {
                        if((tagmatch & 0x1)) {
-                               *tag = i*8+j;
+                               *tag = (int)(i*8+j);
                                verbose(VERB_ALGO, "matched tag [%d] %s",
                                        *tag, (*tag<num_tags?tagname[*tag]:"null"));
                                /* does this tag have a tag action? */