Commit 78ad3534 authored by Mark Andrews's avatar Mark Andrews

preserve unsigned property

parent 4745daaf
/*
* 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));
}
......
......@@ -3628,7 +3628,7 @@
./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
......
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