summaryrefslogtreecommitdiff
path: root/source4/lib/tls
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 14:35:19 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 14:48:13 +0100
commit6ce63655ef1870afc8a9ee0c5e36346c4e92ee12 (patch)
treed0f216b2308bbb955347efd1597107ad0a71e738 /source4/lib/tls
parentbd4006fb9e904f6424e20ac11cd3c04924fdec30 (diff)
downloadsamba-6ce63655ef1870afc8a9ee0c5e36346c4e92ee12.tar.gz
samba-6ce63655ef1870afc8a9ee0c5e36346c4e92ee12.tar.bz2
samba-6ce63655ef1870afc8a9ee0c5e36346c4e92ee12.zip
s4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by casts
Diffstat (limited to 'source4/lib/tls')
-rw-r--r--source4/lib/tls/tls_tstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tls/tls_tstream.c b/source4/lib/tls/tls_tstream.c
index 7f37643a65..8e80454d57 100644
--- a/source4/lib/tls/tls_tstream.c
+++ b/source4/lib/tls/tls_tstream.c
@@ -460,7 +460,7 @@ static void tstream_tls_readv_crypt_next(struct tevent_req *req)
memcpy(base, tlss->read.buffer + tlss->read.ofs, len);
base += len;
- state->vector[0].iov_base = base;
+ state->vector[0].iov_base = (char *) base;
state->vector[0].iov_len -= len;
tlss->read.ofs += len;
@@ -631,7 +631,7 @@ static void tstream_tls_writev_crypt_next(struct tevent_req *req)
memcpy(tlss->write.buffer + tlss->write.ofs, base, len);
base += len;
- state->vector[0].iov_base = base;
+ state->vector[0].iov_base = (char *) base;
state->vector[0].iov_len -= len;
tlss->write.ofs += len;