use %u instead of %d

This commit is contained in:
Mark Andrews 2018-02-14 19:09:23 +11:00
parent 372fbc06e7
commit 1af3e7d7d5
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2015-2018 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
@ -1378,12 +1378,12 @@ plus_option(char *option, struct query *query, isc_boolean_t global)
result = parse_uint(&display_splitwidth, value,
1023, "split");
if (display_splitwidth % 4 != 0) {
if ((display_splitwidth % 4) != 0) {
display_splitwidth =
((display_splitwidth + 3) / 4) * 4;
fprintf(stderr, ";; Warning, split must be "
"a multiple of 4; adjusting "
"to %d\n",
"to %u\n",
display_splitwidth);
}
/*

View file

@ -2618,7 +2618,7 @@
./bin/tools/genrandom.docbook SGML 2009,2010,2011,2014,2015,2016
./bin/tools/genrandom.html HTML DOCBOOK
./bin/tools/mdig.1 MAN DOCBOOK
./bin/tools/mdig.c C 2015,2016,2017
./bin/tools/mdig.c C 2015,2016,2017,2018
./bin/tools/mdig.docbook SGML 2015,2016,2017
./bin/tools/mdig.html HTML DOCBOOK
./bin/tools/named-journalprint.8 MAN DOCBOOK