use %u instead of %d

This commit is contained in:
Mark Andrews 2018-02-14 18:39:31 +11:00
parent eb96b507da
commit 6bbecea663
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2001, 2004, 2005, 2007, 2013, 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2001, 2004, 2005, 2007, 2013, 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
@ -104,7 +104,7 @@ main(int argc, char *argv[]) {
nworkers = 2;
if (nworkers > 100)
nworkers = 100;
printf("%d workers\n", nworkers);
printf("%u workers\n", nworkers);
RUNTIME_CHECK(isc_rwlock_init(&lock, 5, 10) == ISC_R_SUCCESS);

View file

@ -736,7 +736,7 @@
./bin/tests/resolver/win32/t_resolver.vcxproj.filters.in X 2013,2015
./bin/tests/resolver/win32/t_resolver.vcxproj.in X 2013,2015,2016,2017
./bin/tests/resolver/win32/t_resolver.vcxproj.user X 2013
./bin/tests/rwlock_test.c C 1998,1999,2000,2001,2004,2005,2007,2013,2016,2017
./bin/tests/rwlock_test.c C 1998,1999,2000,2001,2004,2005,2007,2013,2016,2017,2018
./bin/tests/serial_test.c C 1999,2000,2001,2003,2004,2007,2015,2016
./bin/tests/shutdown_test.c C 1998,1999,2000,2001,2004,2007,2011,2013,2016,2017
./bin/tests/sig0_test.c C 2000,2001,2004,2005,2007,2008,2009,2012,2015,2016