From: Jelte Jansen Date: Mon, 9 Feb 2009 21:46:11 +0000 (+0000) Subject: forgot a cast X-Git-Tag: release-1.5.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd253bd9bfc046c600bcfd22d69889147a2d7edb;p=thirdparty%2Fldns.git forgot a cast --- diff --git a/examples/ldnsd.c b/examples/ldnsd.c index edbcf858..17635bd6 100644 --- a/examples/ldnsd.c +++ b/examples/ldnsd.c @@ -220,7 +220,7 @@ main(int argc, char **argv) if (status != LDNS_STATUS_OK) { printf("Error creating answer: %s\n", ldns_get_errorstr_by_id(status)); } else { - nb = (size_t) sendto(sock, outbuf, answer_size, 0, &addr_him, hislen); + nb = sendto(sock, outbuf, answer_size, 0, &addr_him, hislen); } ldns_pkt_free(query_pkt);