summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-08 02:35:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:49 -0500
commiteae0b77a6e4ef80f7dd0749db5cfa15902e857ec (patch)
tree28fa23b8f13774448b89226e9acd75e811553ffd /source4/libcli
parent7789fa412d3dcb70ed06fdccbda65f2a3eef06ee (diff)
downloadsamba-eae0b77a6e4ef80f7dd0749db5cfa15902e857ec.tar.gz
samba-eae0b77a6e4ef80f7dd0749db5cfa15902e857ec.tar.bz2
samba-eae0b77a6e4ef80f7dd0749db5cfa15902e857ec.zip
r14974: work around an ibm checker bug
(This used to be commit 2031e07a8a14d83ab621f8baaae6b4e1425667d7)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/rawioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/rawioctl.c b/source4/libcli/raw/rawioctl.c
index db980a55d6..d4a299fe02 100644
--- a/source4/libcli/raw/rawioctl.c
+++ b/source4/libcli/raw/rawioctl.c
@@ -73,13 +73,13 @@ static struct smbcli_request *smb_raw_ntioctl_send(struct smbcli_tree *tree,
union smb_ioctl *parms)
{
struct smb_nttrans nt;
- uint16_t setup[4];
+ uint8_t setup[8];
nt.in.max_setup = 0;
nt.in.max_param = 0;
nt.in.max_data = 0;
nt.in.setup_count = 4;
- nt.in.setup = setup;
+ nt.in.setup = (uint16_t *)setup;
SIVAL(setup, 0, parms->ntioctl.in.function);
SSVAL(setup, 4, parms->ntioctl.in.file.fnum);
SCVAL(setup, 6, parms->ntioctl.in.fsctl);