From eae0b77a6e4ef80f7dd0749db5cfa15902e857ec Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Apr 2006 02:35:00 +0000 Subject: r14974: work around an ibm checker bug (This used to be commit 2031e07a8a14d83ab621f8baaae6b4e1425667d7) --- source4/libcli/raw/rawioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/libcli/raw') 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); -- cgit