2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

formally cast to int

This commit is contained in:
Mark Andrews
2018-02-14 19:13:56 +11:00
parent 1af3e7d7d5
commit 8aff92c150
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 1999-2017 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-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
@@ -3436,7 +3436,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