From a7dcbc4d19cfd4247af8318f202b69acc528affb Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 24 Jul 2015 11:49:35 +0000 Subject: [PATCH] Fix lint. git-svn-id: file:///svn/unbound/trunk@3458 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/daemon.c b/daemon/daemon.c index 75202e2c3..e763f724e 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -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*)); -- 2.47.2