]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 24 Jul 2015 11:49:35 +0000 (11:49 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 24 Jul 2015 11:49:35 +0000 (11:49 +0000)
git-svn-id: file:///svn/unbound/trunk@3458 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/daemon.c

index 75202e2c3984708659165c2329a7bb18b577ba53..e763f724edb4f9f83d133f9e9b1e257e302c31b7 100644 (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*));