From 7729844150bb9dd88296202c89e49b1a5dc0e7ba Mon Sep 17 00:00:00 2001 From: Diego Fronza Date: Fri, 16 Apr 2021 18:33:40 -0300 Subject: [PATCH] Address comparison of integers with different signedess --- lib/isc/netmgr/tlsstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/netmgr/tlsstream.c b/lib/isc/netmgr/tlsstream.c index 07f3d26427..f8e0be0d00 100644 --- a/lib/isc/netmgr/tlsstream.c +++ b/lib/isc/netmgr/tlsstream.c @@ -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; }