diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-20 21:46:53 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-20 22:32:59 +0200 |
commit | 0bf26edf6c466bfffa87c47b0acb64cc6f4544f7 (patch) | |
tree | 0ca1c0444fb7d2bb54e89438ab3551f91d9c1c14 /source4/rpc_server | |
parent | c972e6ec233fc2023b33da0d707ae035f85faba2 (diff) | |
download | samba-0bf26edf6c466bfffa87c47b0acb64cc6f4544f7.tar.gz samba-0bf26edf6c466bfffa87c47b0acb64cc6f4544f7.tar.bz2 samba-0bf26edf6c466bfffa87c47b0acb64cc6f4544f7.zip |
s4:rpc_server/service_rpc.c - fix warnings on Solaris
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/service_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c index 3c4adbf875..8c52c2c122 100644 --- a/source4/rpc_server/service_rpc.c +++ b/source4/rpc_server/service_rpc.c @@ -90,7 +90,7 @@ static void dcesrv_sock_report_output_data(struct dcesrv_connection *dce_conn) substate->call = call; } - substate->iov.iov_base = rep->blob.data; + substate->iov.iov_base = (void *) rep->blob.data; substate->iov.iov_len = rep->blob.length; subreq = tstream_writev_queue_send(substate, @@ -231,7 +231,7 @@ static int dcerpc_read_ncacn_packet_next_vector(struct tstream_context *stream, return -1; } - vector[0].iov_base = state->buffer.data + ofs; + vector[0].iov_base = (void *) (state->buffer.data + ofs); vector[0].iov_len = state->buffer.length - ofs; *_vector = vector; |