]> 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:48 +0000 (11:13 +1000)
(cherry picked from commit 1208790272c8547682be4114ca3492477a3598b5)

lib/dns/rdata/generic/tkey_249.c

index 09175615f639d9613a97c6738b1a8850c31706e1..4eab89bbd56b5a69e2be26c83a049d98436cf01f 100644 (file)
@@ -465,7 +465,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;