From: Hallvard Furuseth Date: Tue, 29 Apr 2003 14:43:54 +0000 (+0000) Subject: Cast away const. X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~229 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c898a562639f98571df4b48e8de2d806b928f809;p=openldap Cast away const. --- diff --git a/libraries/libldap/os-local.c b/libraries/libldap/os-local.c index aef423150e..c8a871d7b1 100644 --- a/libraries/libldap/os-local.c +++ b/libraries/libldap/os-local.c @@ -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;