diff --git a/daemon/unbound.c b/daemon/unbound.c index 78771dbdd..934a96c80 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -222,7 +222,7 @@ checkrlimits(struct config_file* cfg) #endif if(getrlimit(RLIMIT_DATA, &rlim) == 0) { if(rlim.rlim_cur != (rlim_t)RLIM_INFINITY && - rlim.rlim_cur < memsize_expect) { + rlim.rlim_cur < (rlim_t)memsize_expect) { log_warn("the ulimit(data seg size) is smaller than the expected memory usage (added size of caches). %u < %u bytes", (unsigned)rlim.rlim_cur, (unsigned)memsize_expect); } } diff --git a/doc/Changelog b/doc/Changelog index c8c9b7041..15a2b00b7 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -7,6 +7,7 @@ function that need to reuse the dns answer. - Annotate assertion into error printout; we think it may be an error, but the situation looks harmless. + - Fix sign comparison warning on FreeBSD. 2 August 2021: Wouter - Prepare for OpenSSL 3.0.0 provider API usage, move the sldns