]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
unsigned constant
authorMark Andrews <marka@isc.org>
Fri, 24 Aug 2012 00:36:29 +0000 (10:36 +1000)
committerMark Andrews <marka@isc.org>
Fri, 24 Aug 2012 00:36:29 +0000 (10:36 +1000)
bin/named/server.c

index e75733118576d9cd26db0ab7b23ce91310c28c71..652245274862f6f4486d88fdf4334809983b6aac 100644 (file)
@@ -8036,7 +8036,7 @@ ns_server_signing(ns_server_t *server, char *args, isc_buffer_t *text) {
                                return (ISC_R_NOSPACE);
                        n = sscanf(nbuf, "%hhd %hhd %hhd",
                                   &hash, &flags, &iter);
-                       if (n != 3)
+                       if (n != 3U)
                                return (ISC_R_BADNUMBER);
 
                        ptr = next_token(&args, " \t");