Commit c23eef5f authored by Mark Andrews's avatar Mark Andrews

make both arguments of & unsigned

parent b513bbe9
/*
* Copyright (C) 2000-2005, 2007, 2009, 2013, 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2005, 2007, 2009, 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
......@@ -75,10 +75,10 @@ dns_byaddr_createptrname2(const isc_netaddr_t *address, unsigned int options,
if (address->family == AF_INET) {
(void)snprintf(textname, sizeof(textname),
"%u.%u.%u.%u.in-addr.arpa.",
(bytes[3] & 0xff),
(bytes[2] & 0xff),
(bytes[1] & 0xff),
(bytes[0] & 0xff));
(bytes[3] & 0xffU),
(bytes[2] & 0xffU),
(bytes[1] & 0xffU),
(bytes[0] & 0xffU));
} else if (address->family == AF_INET6) {
size_t remaining;
......
......@@ -3301,7 +3301,7 @@
./lib/dns/adb.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
./lib/dns/api X 1999,2000,2001,2006,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
./lib/dns/badcache.c C 2014,2015,2016
./lib/dns/byaddr.c C 2000,2001,2002,2003,2004,2005,2007,2009,2013,2016,2017
./lib/dns/byaddr.c C 2000,2001,2002,2003,2004,2005,2007,2009,2013,2016,2017,2018
./lib/dns/cache.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2011,2012,2013,2014,2015,2016,2017
./lib/dns/callbacks.c C 1999,2000,2001,2004,2005,2007,2011,2012,2015,2016
./lib/dns/catz.c C 2016,2017,2018
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment