summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 14:31:53 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 14:48:13 +0100
commitbd4006fb9e904f6424e20ac11cd3c04924fdec30 (patch)
tree22f0a2bfd7d79c8687d67d20ea6216c6a2853817 /source4
parent205c1e0106184d025643d1f347b22305e04674c9 (diff)
downloadsamba-bd4006fb9e904f6424e20ac11cd3c04924fdec30.tar.gz
samba-bd4006fb9e904f6424e20ac11cd3c04924fdec30.tar.bz2
samba-bd4006fb9e904f6424e20ac11cd3c04924fdec30.zip
s4:auth/gensec/gensec_tstream.c - quiet warnings on Solaris "cc"
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/gensec_tstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_tstream.c b/source4/auth/gensec/gensec_tstream.c
index de3d4fe94f..3bc69ab915 100644
--- a/source4/auth/gensec/gensec_tstream.c
+++ b/source4/auth/gensec/gensec_tstream.c
@@ -192,7 +192,7 @@ static void tstream_gensec_readv_wrapped_next(struct tevent_req *req)
memcpy(base, tgss->read.unwrapped.data + tgss->read.ofs, len);
base += len;
- state->vector[0].iov_base = base;
+ state->vector[0].iov_base = (char *) base;
state->vector[0].iov_len -= len;
tgss->read.ofs += len;
@@ -457,7 +457,7 @@ static void tstream_gensec_writev_wrapped_next(struct tevent_req *req)
memcpy(state->unwrapped.blob.data + state->unwrapped.ofs, base, len);
base += len;
- state->vector[0].iov_base = base;
+ state->vector[0].iov_base = (char *) base;
state->vector[0].iov_len -= len;
state->unwrapped.ofs += len;