From c898a562639f98571df4b48e8de2d806b928f809 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 29 Apr 2003 14:43:54 +0000 Subject: [PATCH] Cast away const. --- libraries/libldap/os-local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5