diff options
Diffstat (limited to 'source4')
-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; |