summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-12 11:45:37 -0700
committerJeremy Allison <jra@samba.org>2009-05-12 11:45:37 -0700
commitad9d64ee1b9e4cd4324b62c2bb2fd2eec9743e30 (patch)
tree0e96079ae72d9e24fcfd10cb54ce71fd002fb206 /source3/libsmb/cliconnect.c
parent196084d641bf5ede94373c3681835d28b3ac9ee3 (diff)
downloadsamba-ad9d64ee1b9e4cd4324b62c2bb2fd2eec9743e30.tar.gz
samba-ad9d64ee1b9e4cd4324b62c2bb2fd2eec9743e30.tar.xz
samba-ad9d64ee1b9e4cd4324b62c2bb2fd2eec9743e30.zip
Clean up assignments to iov_base, ensure it's always cast to void *. This should quieten some warnings with picky compilers on the buildfarm.
Jeremy.
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r--source3/libsmb/cliconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 7a8a93078d1..38985363c2e 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -219,7 +219,7 @@ struct tevent_req *cli_session_setup_guest_create(TALLOC_CTX *mem_ctx,
return NULL;
}
- state->bytes.iov_base = bytes;
+ state->bytes.iov_base = (void *)bytes;
state->bytes.iov_len = talloc_get_size(bytes);
subreq = cli_smb_req_create(state, ev, cli, SMBsesssetupX, 0, 13, vwv,
@@ -1367,7 +1367,7 @@ struct tevent_req *cli_tcon_andx_create(TALLOC_CTX *mem_ctx,
return NULL;
}
- state->bytes.iov_base = bytes;
+ state->bytes.iov_base = (void *)bytes;
state->bytes.iov_len = talloc_get_size(bytes);
subreq = cli_smb_req_create(state, ev, cli, SMBtconX, 0, 4, vwv,