]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
used unsigned zero
authorMark Andrews <marka@isc.org>
Thu, 19 Feb 2015 04:42:29 +0000 (15:42 +1100)
committerMark Andrews <marka@isc.org>
Thu, 19 Feb 2015 04:42:29 +0000 (15:42 +1100)
lib/dns/rdata/generic/keydata_65533.c

index 00cf084eb62ab7748e5b5e619cc731cd5ce62b4c..2c6362fc85e7df4cd311d733308d3125ca4ef279 100644 (file)
@@ -206,7 +206,7 @@ totext_keydata(ARGS_TOTEXT) {
                        isc_time_formathttptimestamp(&t, rbuf, sizeof(rbuf));
                        RETERR(str_totext(rbuf, target));
 
-                       if (add == 0) {
+                       if (add == 0U) {
                                RETERR(str_totext(tctx->linebreak, target));
                                RETERR(str_totext("; no trust", target));
                        } else {
@@ -224,7 +224,7 @@ totext_keydata(ARGS_TOTEXT) {
                                RETERR(str_totext(abuf, target));
                        }
 
-                       if (remove != 0) {
+                       if (remove != 0U) {
                                RETERR(str_totext(tctx->linebreak, target));
                                RETERR(str_totext("; removal pending: ",
                                                  target));