]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
forgot a cast
authorJelte Jansen <jelte@NLnetLabs.nl>
Mon, 9 Feb 2009 21:46:11 +0000 (21:46 +0000)
committerJelte Jansen <jelte@NLnetLabs.nl>
Mon, 9 Feb 2009 21:46:11 +0000 (21:46 +0000)
examples/ldnsd.c

index edbcf8589bfffcea19d96d9afe434b565cf465bf..17635bd61da66330069c99c3667427da8276f971 100644 (file)
@@ -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);