]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make lhs unsigned
authorMark Andrews <marka@isc.org>
Thu, 12 Jun 2014 01:12:22 +0000 (11:12 +1000)
committerMark Andrews <marka@isc.org>
Thu, 12 Jun 2014 01:13:59 +0000 (11:13 +1000)
(cherry picked from commit 1208790272c8547682be4114ca3492477a3598b5)

lib/dns/rdata/generic/tkey_249.c

index 07dae1b8b29d6c8ce33c62dc455c032f42f40afb..dd480e8b907ef2f76423f399df46b63b9499ae9c 100644 (file)
@@ -459,7 +459,7 @@ tostruct_tkey(ARGS_TOSTRUCT) {
        /*
         * Key.
         */
-       INSIST(tkey->keylen + 2 <= sr.length);
+       INSIST(tkey->keylen + 2U <= sr.length);
        tkey->key = mem_maybedup(mctx, sr.base, tkey->keylen);
        if (tkey->key == NULL)
                goto cleanup;