]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence signed/unsigned comparision warning
authorMark Andrews <marka@isc.org>
Sun, 16 Mar 2014 00:14:26 +0000 (11:14 +1100)
committerMark Andrews <marka@isc.org>
Sun, 16 Mar 2014 00:14:26 +0000 (11:14 +1100)
bin/named/client.c

index 7b011486a7bc17a1af126a95e34365f8096ec7f1..9c5f2ddd87062826a49d666f34d67370c65e9a56 100644 (file)
  */
 #endif
 
-#define SIT_SIZE 24 /* 8 + 4 + 4 + 8 */
+#define SIT_SIZE 24U /* 8 + 4 + 4 + 8 */
 
 /*% nameserver client manager structure */
 struct ns_clientmgr {
@@ -1672,7 +1672,7 @@ process_sit(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
                        memset(client->cookie, 0, 8);
                isc_buffer_forward(buf, (unsigned int)optlen);
 
-               if (optlen == 8)
+               if (optlen == 8U)
                        isc_stats_increment(ns_g_server->nsstats,
                                            dns_nsstatscounter_sitnew);
                else