]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
lint
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 1 Feb 2007 15:08:58 +0000 (15:08 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 1 Feb 2007 15:08:58 +0000 (15:08 +0000)
git-svn-id: file:///svn/unbound/trunk@50 be551aaa-1e26-0410-a405-d3ace91eadb9

services/outside_network.c

index f9b9755c9f5672c4c27c8ca7a361aab11eccd279..f3b6b94864678828bba817c8f0f7be9111411860 100644 (file)
@@ -303,7 +303,7 @@ new_pending(struct outside_network* outnet, ldns_buffer* packet,
                        return NULL;
                }
        }
-       tv.tv_sec = time(NULL) + timeout;
+       tv.tv_sec = (int)time(NULL) + timeout;
        tv.tv_usec = 0;
        comm_timer_set(pend->timer, &tv);
        return pend;