]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
preserve unsigned property
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 01:24:33 +0000 (12:24 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 03:08:26 +0000 (14:08 +1100)
lib/dns/rdata/in_1/dhcid_49.c
util/copyrights

index c0d14a104c79616cee6e5fc00717d1dac1ddbb0a..ab72b38017dd1bdfbf337eeac1a1e5958aceaeb1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2007, 2009, 2011, 2012, 2015-2017  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2007, 2009, 2011, 2012, 2015-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
@@ -54,8 +54,8 @@ totext_in_dhcid(ARGS_TOTEXT) {
                RETERR(str_totext(/* ( */ " )", target));
                if (rdata->length > 2) {
                        n = snprintf(buf, sizeof(buf), " ; %u %u %u",
-                                    sr2.base[0] * 256 + sr2.base[1],
-                                    sr2.base[2], rdata->length - 3);
+                                    sr2.base[0] * 256U + sr2.base[1],
+                                    sr2.base[2], rdata->length - 3U);
                        INSIST(n < sizeof(buf));
                        RETERR(str_totext(buf, target));
                }
index 5d14fe865738b826001aec18c48170b30f3abaea..b325a1263448f97e06373bab4773b02143358cca 100644 (file)
 ./lib/dns/rdata/in_1/aaaa_28.h                 C       1999,2000,2001,2004,2005,2007,2016
 ./lib/dns/rdata/in_1/apl_42.c                  C       2002,2004,2005,2007,2008,2009,2014,2015,2016
 ./lib/dns/rdata/in_1/apl_42.h                  C       2002,2004,2005,2007,2016
-./lib/dns/rdata/in_1/dhcid_49.c                        C       2006,2007,2009,2011,2012,2015,2016,2017
+./lib/dns/rdata/in_1/dhcid_49.c                        C       2006,2007,2009,2011,2012,2015,2016,2017,2018
 ./lib/dns/rdata/in_1/dhcid_49.h                        C       2006,2007,2016
 ./lib/dns/rdata/in_1/kx_36.c                   C       1999,2000,2001,2003,2004,2005,2007,2009,2015,2016,2017
 ./lib/dns/rdata/in_1/kx_36.h                   C       1999,2000,2001,2004,2005,2007,2016