diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-10 22:22:14 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-10 22:45:49 +0200 |
commit | 5c33ef2758d8e8d3978feef9056e79bce31c9d74 (patch) | |
tree | 64f6f454b5fd01e133b677eb8b840b3c4960647f /libcli/util | |
parent | ece428f02c981eea4b8a0997fbe55d5ecf39c1a0 (diff) | |
download | samba-5c33ef2758d8e8d3978feef9056e79bce31c9d74.tar.gz samba-5c33ef2758d8e8d3978feef9056e79bce31c9d74.tar.bz2 samba-5c33ef2758d8e8d3978feef9056e79bce31c9d74.zip |
s3/s4:libcli/tstream - add more "char *" casts in order to suppress Solaris warnings
Diffstat (limited to 'libcli/util')
-rw-r--r-- | libcli/util/tstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/util/tstream.c b/libcli/util/tstream.c index 9c42ca1f4e..5d0e561193 100644 --- a/libcli/util/tstream.c +++ b/libcli/util/tstream.c @@ -75,7 +75,7 @@ struct tevent_req *tstream_read_pdu_blob_send(TALLOC_CTX *mem_ctx, state->pdu_blob.data = buf; state->pdu_blob.length = initial_read_size; - state->tmp_vector.iov_base = buf; + state->tmp_vector.iov_base = (char *) buf; state->tmp_vector.iov_len = initial_read_size; subreq = tstream_readv_send(state, ev, stream, &state->tmp_vector, 1); @@ -128,7 +128,7 @@ static void tstream_read_pdu_blob_done(struct tevent_req *subreq) state->pdu_blob.data = buf; state->pdu_blob.length = pdu_size; - state->tmp_vector.iov_base = buf + state->tmp_vector.iov_len; + state->tmp_vector.iov_base = (char *) (buf + state->tmp_vector.iov_len); state->tmp_vector.iov_len = pdu_size - state->tmp_vector.iov_len; subreq = tstream_readv_send(state, |