Fix lint.

git-svn-id: file:///svn/unbound/trunk@3458 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2015-07-24 11:49:35 +00:00
parent cd223885eb
commit a7dcbc4d19

View file

@ -403,7 +403,7 @@ daemon_create_workers(struct daemon* daemon)
log_warn("cannot reduce num-threads to %d because so-reuseport "
"so continuing with %d threads.", (int)daemon->num,
(int)daemon->num_ports);
daemon->num = daemon->num_ports;
daemon->num = (int)daemon->num_ports;
}
daemon->workers = (struct worker**)calloc((size_t)daemon->num,
sizeof(struct worker*));