diff --git a/bin/dnssec/dnssectool.c b/bin/dnssec/dnssectool.c index 5e62640090..62f3da33ba 100644 --- a/bin/dnssec/dnssectool.c +++ b/bin/dnssec/dnssectool.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dnssectool.c,v 1.52 2009/09/02 23:48:01 tbox Exp $ */ +/* $Id: dnssectool.c,v 1.53 2009/09/03 00:12:23 each Exp $ */ /*! \file */ @@ -329,11 +329,11 @@ strtotime(const char *str, isc_int64_t now, isc_int64_t base) { return ((isc_stdtime_t) base); else if (str[0] == '+') { offset = strtol(str + 1, &endp, 0); - offset = time_units(offset, endp, orig); + offset = time_units((isc_stdtime_t) offset, endp, orig); val = base + offset; } else if (str[0] == '-') { offset = strtol(str + 1, &endp, 0); - offset = time_units(offset, endp, orig); + offset = time_units((isc_stdtime_t) offset, endp, orig); val = base - offset; } else if (strlen(str) == 8U) { char timestr[15]; diff --git a/lib/dns/lib.c b/lib/dns/lib.c index eb69e992d2..df16fa22d0 100644 --- a/lib/dns/lib.c +++ b/lib/dns/lib.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: lib.c,v 1.18 2009/09/02 23:48:02 tbox Exp $ */ +/* $Id: lib.c,v 1.19 2009/09/03 00:12:23 each Exp $ */ /*! \file */ @@ -83,7 +83,7 @@ static isc_mutex_t reflock; static unsigned int references = 0; static void -initialize() { +initialize(void) { isc_result_t result; REQUIRE(initialize_done == ISC_FALSE);