]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
please lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 27 Jan 2014 10:41:16 +0000 (10:41 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 27 Jan 2014 10:41:16 +0000 (10:41 +0000)
git-svn-id: file:///svn/unbound/trunk@3055 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/daemon.c

index 790c2e7f17baf609f55415ed6b2a8d51e75ddf16..365ddbf1b92cf2910e3e259708404ea76fdb282f 100644 (file)
@@ -278,7 +278,7 @@ daemon_open_shared_ports(struct daemon* daemon)
                }
                if(reuseport) {
                        /* reuseport was successful, allocate for it */
-                       daemon->num_ports = daemon->cfg->num_threads;
+                       daemon->num_ports = (size_t)daemon->cfg->num_threads;
                } else {
                        /* do the normal, singleportslist thing,
                         * reuseport not enabled or did not work */