]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Address comparison of integers with different signedess
authorDiego Fronza <diego@isc.org>
Fri, 16 Apr 2021 21:33:40 +0000 (18:33 -0300)
committerMark Andrews <marka@isc.org>
Mon, 3 May 2021 06:54:30 +0000 (06:54 +0000)
lib/isc/netmgr/tlsstream.c

index 07f3d264275299d4cc7b250534ca33f6e2733464..f8e0be0d00d97832285cff60a6bac760ad4120ef 100644 (file)
@@ -245,7 +245,7 @@ tls_send_outgoing(isc_nmsocket_t *sock, bool finish, isc_nmhandle_t *tlshandle,
        }
 
        /* TODO Should we keep track of these requests in a list? */
-       if (pending > TLS_BUF_SIZE) {
+       if ((unsigned int)pending > TLS_BUF_SIZE) {
                pending = TLS_BUF_SIZE;
        }