if (name == NULL)
continue;
if (debug)
- fprintf(f, "; bucket %d\n", i);
+ fprintf(f, "; bucket %u\n", i);
for (;
name != NULL;
name = ISC_LIST_NEXT(name, plink))
#endif
if (entry->expires != 0)
- fprintf(f, " [ttl %d]", entry->expires - now);
+ fprintf(f, " [ttl %d]", (int)(entry->expires - now));
#ifdef ENABLE_FETCHLIMIT
if (adb != NULL && adb->quota != 0 && adb->atr_freq != 0) {
print_dns_name(f, &li->qname);
dns_rdatatype_format(li->qtype, typebuf, sizeof(typebuf));
fprintf(f, " %s [lame TTL %d]\n", typebuf,
- li->lame_timer - now);
+ (int)(li->lame_timer - now));
}
}