mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Cast away const.
This commit is contained in:
parent
28e1a3c9da
commit
c898a56263
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user