From eaddb0c6867a585781dbdbc4b2f47a54fe8b8bf2 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 15 Feb 2018 00:02:14 +1100 Subject: [PATCH] use %u instead of %d --- lib/dns/rdata/generic/loc_29.c | 4 ++-- util/copyrights | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/rdata/generic/loc_29.c b/lib/dns/rdata/generic/loc_29.c index e80d7bcc40..6e32bc0858 100644 --- a/lib/dns/rdata/generic/loc_29.c +++ b/lib/dns/rdata/generic/loc_29.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1999-2005, 2007, 2009, 2015-2017 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 1999-2005, 2007, 2009, 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 @@ -552,7 +552,7 @@ totext_loc(ARGS_TOTEXT) { } snprintf(buf, sizeof(buf), - "%d %d %d.%03d %s %d %d %d.%03d %s %s%ld.%02ldm %s %s %s", + "%d %d %d.%03d %s %d %d %d.%03d %s %s%lu.%02lum %s %s %s", d1, m1, s1, fs1, north ? "N" : "S", d2, m2, s2, fs2, east ? "E" : "W", below ? "-" : "", altitude/100, altitude % 100, diff --git a/util/copyrights b/util/copyrights index 765e2a99cb..fe7a514aca 100644 --- a/util/copyrights +++ b/util/copyrights @@ -3538,7 +3538,7 @@ ./lib/dns/rdata/generic/l32_105.h C 2013,2016 ./lib/dns/rdata/generic/l64_106.c C 2013,2014,2015,2016,2017 ./lib/dns/rdata/generic/l64_106.h C 2013,2016 -./lib/dns/rdata/generic/loc_29.c C 1999,2000,2001,2002,2003,2004,2005,2007,2009,2015,2016,2017 +./lib/dns/rdata/generic/loc_29.c C 1999,2000,2001,2002,2003,2004,2005,2007,2009,2015,2016,2017,2018 ./lib/dns/rdata/generic/loc_29.h C 1999,2000,2001,2004,2005,2007,2016 ./lib/dns/rdata/generic/lp_107.c C 2013,2015,2016,2017 ./lib/dns/rdata/generic/lp_107.h C 2013,2016