]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 25 Jan 2007 09:48:37 +0000 (09:48 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 25 Jan 2007 09:48:37 +0000 (09:48 +0000)
git-svn-id: file:///svn/unbound/trunk@32 be551aaa-1e26-0410-a405-d3ace91eadb9

util/netevent.c

index 3d7867838328604e06c8dad45afab5a126121721..953da312a1d40e02c1695af8829aac1f96f4f27d 100644 (file)
@@ -255,7 +255,7 @@ comm_point_create_tcp(struct comm_base *base, int fd, int num, size_t bufsize,
        c->tcp_parent = NULL;
        c->cur_tcp_count = 0;
        c->max_tcp_count = num;
-       c->tcp_handlers = (struct comm_point**)calloc(num,
+       c->tcp_handlers = (struct comm_point**)calloc((size_t)num,
                sizeof(struct comm_point*));
        c->tcp_free = NULL;
        c->type = comm_tcp_accept;