use %u instead of %d

This commit is contained in:
Mark Andrews
2018-02-14 18:21:56 +11:00
parent 3034da1ec6
commit c8d294470d
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2004, 2005, 2007, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2004, 2005, 2007, 2015, 2016, 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
@@ -29,7 +29,7 @@ hex_dump(const char *msg, void *data, unsigned int length) {
base = data;
printf("DUMP of %d bytes: %s\n\t", length, msg);
printf("DUMP of %u bytes: %s\n\t", length, msg);
for (len = 0; len < length; len++) {
if (len % 16 == 0 && !first)
printf("\n\t");

View File

@@ -446,7 +446,7 @@
./bin/tests/dst/win32/t_dst.vcxproj.in X 2013,2015,2016,2017
./bin/tests/dst/win32/t_dst.vcxproj.user X 2013
./bin/tests/entropy2_test.c C 2000,2001,2004,2005,2007,2015,2016,2018
./bin/tests/entropy_test.c C 2000,2001,2004,2005,2007,2015,2016
./bin/tests/entropy_test.c C 2000,2001,2004,2005,2007,2015,2016,2018
./bin/tests/fromhex.pl PERL 2015,2016
./bin/tests/fsaccess_test.c C 2000,2001,2004,2005,2007,2012,2015,2016
./bin/tests/hash_test.c C 2000,2001,2004,2005,2006,2007,2014,2015,2016,2017