From: Wouter Wijngaards Date: Thu, 25 Jan 2007 09:48:37 +0000 (+0000) Subject: Fixup lint. X-Git-Tag: release-0.0~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4bdb76a1e1cd1b662be48653afd044c1b2af55c;p=thirdparty%2Funbound.git Fixup lint. git-svn-id: file:///svn/unbound/trunk@32 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/netevent.c b/util/netevent.c index 3d7867838..953da312a 100644 --- a/util/netevent.c +++ b/util/netevent.c @@ -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;