mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
silence win32 compiler warnings
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/*! \file */
|
||||||
|
|
||||||
@@ -329,11 +329,11 @@ strtotime(const char *str, isc_int64_t now, isc_int64_t base) {
|
|||||||
return ((isc_stdtime_t) base);
|
return ((isc_stdtime_t) base);
|
||||||
else if (str[0] == '+') {
|
else if (str[0] == '+') {
|
||||||
offset = strtol(str + 1, &endp, 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;
|
val = base + offset;
|
||||||
} else if (str[0] == '-') {
|
} else if (str[0] == '-') {
|
||||||
offset = strtol(str + 1, &endp, 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;
|
val = base - offset;
|
||||||
} else if (strlen(str) == 8U) {
|
} else if (strlen(str) == 8U) {
|
||||||
char timestr[15];
|
char timestr[15];
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/*! \file */
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ static isc_mutex_t reflock;
|
|||||||
static unsigned int references = 0;
|
static unsigned int references = 0;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
initialize() {
|
initialize(void) {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
|
|
||||||
REQUIRE(initialize_done == ISC_FALSE);
|
REQUIRE(initialize_done == ISC_FALSE);
|
||||||
|
Reference in New Issue
Block a user