diff --git a/lib/dns/byaddr.c b/lib/dns/byaddr.c index b849412eb0..e9ede7aed2 100644 --- a/lib/dns/byaddr.c +++ b/lib/dns/byaddr.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007, 2009, 2013, 2017 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2009, 2013, 2017, 2018 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -84,10 +84,10 @@ dns_byaddr_createptrname2(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; diff --git a/util/copyrights b/util/copyrights index 8dbf7f63a1..2764e8b062 100644 --- a/util/copyrights +++ b/util/copyrights @@ -2770,7 +2770,7 @@ ./lib/dns/acl.c C 1999,2000,2001,2002,2004,2005,2006,2007,2008,2009,2011,2013,2014,2016 ./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/byaddr.c C 2000,2001,2002,2003,2004,2005,2007,2009,2013,2017 +./lib/dns/byaddr.c C 2000,2001,2002,2003,2004,2005,2007,2009,2013,2017,2018 ./lib/dns/cache.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2011,2013,2015,2016 ./lib/dns/callbacks.c C 1999,2000,2001,2004,2005,2007,2011,2015 ./lib/dns/client.c C 2009,2010,2011,2012,2013,2015,2016,2017