Commit 9f8d002a authored by Evan Hunt's avatar Evan Hunt

silence win32 compiler warnings

parent c164f233
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment