]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
do not confuse lint
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Sep 2009 09:48:57 +0000 (09:48 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Sep 2009 09:48:57 +0000 (09:48 +0000)
git-svn-id: file:///svn/unbound/trunk@1797 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/worker.c

index 761e9af2bf941ac7b4ae41596ec47fa73ccf5693..0d63ee2c6436ab539cd9f4abd73b11b5582a1be0 100644 (file)
@@ -945,8 +945,10 @@ void worker_probe_timer_cb(void* arg)
 {
        struct worker* worker = (struct worker*)arg;
        struct timeval tv;
-       tv.tv_sec = (unsigned)autr_probe_timer(&worker->env);
+#ifndef S_SPLINT_S
+       tv.tv_sec = (time_t)autr_probe_timer(&worker->env);
        tv.tv_usec = 0;
+#endif
        comm_timer_set(worker->probe_timer, &tv);
 }