used unsigned zero

This commit is contained in:
Mark Andrews 2015-02-19 15:42:29 +11:00
parent a70b865da3
commit 072ce62d23

View 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));