From: Wouter Wijngaards Date: Mon, 27 Jan 2014 10:41:16 +0000 (+0000) Subject: please lint. X-Git-Tag: release-1.4.22rc1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0430378d5a29a81bde1cb80fdebba0498e7c105;p=thirdparty%2Funbound.git please lint. git-svn-id: file:///svn/unbound/trunk@3055 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/daemon.c b/daemon/daemon.c index 790c2e7f1..365ddbf1b 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -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 */