summaryrefslogtreecommitdiff
path: root/source4/torture/raw/open.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-18 16:20:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:16 -0500
commita920f2f9a8e4ee076471c293765ed0bee13d4cc5 (patch)
treec242596cb0ea760978a563276d976d8d77d0dd6d /source4/torture/raw/open.c
parent5bd9b3b808393c8ad59f17d8d13a45b2be6ae0a6 (diff)
downloadsamba-a920f2f9a8e4ee076471c293765ed0bee13d4cc5.tar.gz
samba-a920f2f9a8e4ee076471c293765ed0bee13d4cc5.tar.bz2
samba-a920f2f9a8e4ee076471c293765ed0bee13d4cc5.zip
r13004: fix compiler warnings
metze (This used to be commit 833efdf8a943b210ba8e5b219dc754260001bedb)
Diffstat (limited to 'source4/torture/raw/open.c')
-rw-r--r--source4/torture/raw/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c
index 2afad96956..1346a075f2 100644
--- a/source4/torture/raw/open.c
+++ b/source4/torture/raw/open.c
@@ -1247,7 +1247,7 @@ static BOOL test_chained(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
io.openxreadx.in.mincnt = sizeof(buf);
io.openxreadx.in.maxcnt = sizeof(buf);
io.openxreadx.in.remaining = 0;
- io.openxreadx.out.data = buf2;
+ io.openxreadx.out.data = (uint8_t *)buf2;
status = smb_raw_open(cli->tree, mem_ctx, &io);
CHECK_STATUS(status, NT_STATUS_OK);