mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-22 15:50:59 -05:00
- Fix sign comparison warning on FreeBSD.
This commit is contained in:
parent
2a0df9e72e
commit
c639dc956a
2 changed files with 2 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ checkrlimits(struct config_file* cfg)
|
||||||
#endif
|
#endif
|
||||||
if(getrlimit(RLIMIT_DATA, &rlim) == 0) {
|
if(getrlimit(RLIMIT_DATA, &rlim) == 0) {
|
||||||
if(rlim.rlim_cur != (rlim_t)RLIM_INFINITY &&
|
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);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
function that need to reuse the dns answer.
|
function that need to reuse the dns answer.
|
||||||
- Annotate assertion into error printout; we think it may be an
|
- Annotate assertion into error printout; we think it may be an
|
||||||
error, but the situation looks harmless.
|
error, but the situation looks harmless.
|
||||||
|
- Fix sign comparison warning on FreeBSD.
|
||||||
|
|
||||||
2 August 2021: Wouter
|
2 August 2021: Wouter
|
||||||
- Prepare for OpenSSL 3.0.0 provider API usage, move the sldns
|
- Prepare for OpenSSL 3.0.0 provider API usage, move the sldns
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue