mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
Cast to (void *) to shut up compiler warnings re signed/unsigned char *. It
would be so nice if people would define 'msg_control' in a msghdr to be consistant with other pointers...
This commit is contained in:
@@ -603,7 +603,7 @@ build_msghdr_recv(isc_socket_t *sock, isc_socketevent_t *dev,
|
||||
msg->msg_controllen = 0;
|
||||
#if defined(USE_CMSG) /* XXXMLG implement! */
|
||||
if (sock->type == isc_sockettype_udp) {
|
||||
msg->msg_control = &sock->cmsg[0];
|
||||
msg->msg_control = (void *)&sock->cmsg[0];
|
||||
msg->msg_controllen = sizeof(sock->cmsg);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user