mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
silence win32 compiler warnings
This commit is contained in:
@@ -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];
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user