From 146dad103bac0488f8bacc45dfbb2ea099e852ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Tue, 29 Jun 2010 22:33:32 +0200 Subject: [PATCH] s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10 --- source4/ntvfs/ipc/vfs_ipc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c index 676f545832e..bd433537aa9 100644 --- a/source4/ntvfs/ipc/vfs_ipc.c +++ b/source4/ntvfs/ipc/vfs_ipc.c @@ -553,7 +553,7 @@ static int ipc_readv_next_vector(struct tstream_context *stream, return -1; } - vector[0].iov_base = state->buf + state->ofs; + vector[0].iov_base = (char *) (state->buf + state->ofs); vector[0].iov_len = wanted; state->ofs += wanted; @@ -1006,7 +1006,7 @@ static NTSTATUS ipc_dcerpc_cmd(struct ntvfs_module_context *ntvfs, state->p = p; state->req = req; state->trans = trans; - state->writev_iov.iov_base = trans->in.data.data; + state->writev_iov.iov_base = (char *) trans->in.data.data; state->writev_iov.iov_len = trans->in.data.length; ipc_readv_next_vector_init(&state->next_vector, @@ -1215,7 +1215,7 @@ static NTSTATUS ipc_ioctl_smb2(struct ntvfs_module_context *ntvfs, state->p = p; state->req = req; state->io = io; - state->writev_iov.iov_base = io->smb2.in.out.data; + state->writev_iov.iov_base = (char *) io->smb2.in.out.data; state->writev_iov.iov_len = io->smb2.in.out.length; ipc_readv_next_vector_init(&state->next_vector, -- 2.11.4.GIT