Cast away const.

This commit is contained in:
Hallvard Furuseth 2003-04-29 14:43:54 +00:00
parent 28e1a3c9da
commit c898a56263

View File

@ -176,7 +176,7 @@ sendcred:
int fds[2];
if (pipe(fds) == 0) {
/* Abandon, noop, has no reply */
struct iovec iov = {abandonPDU, sizeof(abandonPDU)};
struct iovec iov = {(char *)abandonPDU, sizeof(abandonPDU)};
struct msghdr msg = {0};
msg.msg_iov = &iov;
msg.msg_iovlen = 1;