]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make both arguments of & unsigned
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 01:08:52 +0000 (12:08 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 05:54:19 +0000 (16:54 +1100)
lib/dns/byaddr.c
util/copyrights

index 44d839d7bb67f26c1aeaaab4cb1e339392a166e6..7ce81efd8d16308d69f1a27f21fbf302da5f292f 100644 (file)
@@ -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;
 
index fd28e5367b5d67bb13a0674c37f3ef323f390660..9b7e7270053ca72cc304d93bdcbecb3b543fd4dc 100644 (file)
 ./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,2012,2013,2015,2016,2017
 ./lib/dns/callbacks.c                          C       1999,2000,2001,2004,2005,2007,2011,2012,2015
 ./lib/dns/client.c                             C       2009,2010,2011,2012,2013,2014,2015,2016,2017