summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 22:33:32 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 22:35:20 +0200
commit146dad103bac0488f8bacc45dfbb2ea099e852ee (patch)
tree4cd5823fb00e3534a897b8bcf7174b13dc987ad8 /source4
parent645c3d200cd015597896d77fd4c22bc01a8b7da3 (diff)
downloadsamba-146dad103bac0488f8bacc45dfbb2ea099e852ee.tar.gz
samba-146dad103bac0488f8bacc45dfbb2ea099e852ee.tar.bz2
samba-146dad103bac0488f8bacc45dfbb2ea099e852ee.zip
s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10
Diffstat (limited to 'source4')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index 676f545832..bd433537aa 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,