cast to (void )

This commit is contained in:
Mark Andrews
2013-03-25 07:29:35 +11:00
parent cfb605168d
commit 6f85ff3aac
+1 -1
View File
@@ -462,7 +462,7 @@ cmsgsend(int s, int level, int type, struct addrinfo *res) {
} control;
struct cmsghdr *cmsgp;
int dscp = 46;
struct iovec iovec = { &iovec, sizeof(iovec) };
struct iovec iovec = { (void *)&iovec, sizeof(iovec) };
if (bind(s, res->ai_addr, res->ai_addrlen) < 0) {
isc__strerror(errno, strbuf, sizeof(strbuf));