]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
formally cast to int
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2018 08:13:56 +0000 (19:13 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 07:05:01 +0000 (18:05 +1100)
lib/dns/adb.c
util/copyrights

index ad99c88a768273d5e12263127ac0ec0b14864c51..9e753145bfe370b6da100c249bbfb9dfe7bf2c10 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2017  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2018  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -3387,7 +3387,7 @@ static void
 dump_ttl(FILE *f, const char *legend, isc_stdtime_t value, isc_stdtime_t now) {
        if (value == INT_MAX)
                return;
-       fprintf(f, " [%s TTL %d]", legend, value - now);
+       fprintf(f, " [%s TTL %d]", legend, (int)(value - now));
 }
 
 static void
index 165ba04c77e12cd6077c5ce0fb37b29c69710641..676ea61612da78d6fe5340617be282de4ba1fdd6 100644 (file)
 ./lib/dns/Makefile.in                          MAKE    1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
 ./lib/dns/acache.c                             C       2004,2005,2006,2007,2008,2012,2013,2015,2017
 ./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
+./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/cache.c                              C       1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2011,2013,2015,2016