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

win32 fixes

This commit is contained in:
Mark Andrews
2005-09-05 02:54:38 +00:00
parent 03e200df5d
commit 676619a22f
11 changed files with 121 additions and 35 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.c,v 1.79 2005/08/15 01:21:06 marka Exp $ */
/* $Id: masterdump.c,v 1.80 2005/09/05 02:54:37 marka Exp $ */
/*! \file */
@@ -1389,7 +1389,7 @@ dumptostreaminc(dns_dumpctx_t *dctx) {
dctx->nodes = 1000;
} else {
dctx->nodes = dctx->nodes * interval;
dctx->nodes /= usecs;
dctx->nodes /= (unsigned int)usecs;
if (dctx->nodes == 0)
dctx->nodes = 1;
else if (dctx->nodes > 1000)