]> 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 05:57:00 +0000 (16:57 +1100)
lib/dns/rdata/in_1/dhcid_49.c
util/copyrights

index 5f06093b718283442b725160c36b4a62842de24d..cf2731b31e1a0c94f3b8a0a3a4cd129dd388cdc8 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, 2017, 2018  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -62,8 +62,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 9b7e7270053ca72cc304d93bdcbecb3b543fd4dc..5da2a8b3ca9e03416c71c8dec3b7babceb5cd95e 100644 (file)
 ./lib/dns/rdata/in_1/aaaa_28.h                 C       1999,2000,2001,2004,2005,2007
 ./lib/dns/rdata/in_1/apl_42.c                  C       2002,2004,2005,2007,2008,2009,2014,2015
 ./lib/dns/rdata/in_1/apl_42.h                  C       2002,2004,2005,2007
-./lib/dns/rdata/in_1/dhcid_49.c                        C       2006,2007,2009,2011,2012,2015,2017
+./lib/dns/rdata/in_1/dhcid_49.c                        C       2006,2007,2009,2011,2012,2015,2017,2018
 ./lib/dns/rdata/in_1/dhcid_49.h                        C       2006,2007
 ./lib/dns/rdata/in_1/kx_36.c                   C       1999,2000,2001,2003,2004,2005,2007,2009,2015,2017
 ./lib/dns/rdata/in_1/kx_36.h                   C       1999,2000,2001,2004,2005,2007