]> git.sur5r.net Git - openldap/commitdiff
Cast away const.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 29 Apr 2003 14:43:54 +0000 (14:43 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 29 Apr 2003 14:43:54 +0000 (14:43 +0000)
libraries/libldap/os-local.c

index aef423150edfd9734912e730bdbfeacd29d06998..c8a871d7b126a03750839bed31355a21593a97f7 100644 (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;