summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-17 22:37:24 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-11-02 16:36:51 +1100
commit3caaf6a84c9643aee9aef5f81caf010445d1952a (patch)
tree5eaa7507823ca4a531a64b1a824cfdaa6bb9842b /source4
parentf1f1bdada637865fc5d5d1326d1ab64cd8fdaca4 (diff)
downloadsamba-3caaf6a84c9643aee9aef5f81caf010445d1952a.tar.gz
samba-3caaf6a84c9643aee9aef5f81caf010445d1952a.tar.bz2
samba-3caaf6a84c9643aee9aef5f81caf010445d1952a.zip
s4:torture/raw/samba3misc - Add "discard_const_p" macro before a string
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/samba3misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/samba3misc.c b/source4/torture/raw/samba3misc.c
index e8dc12fd40..2e85a34761 100644
--- a/source4/torture/raw/samba3misc.c
+++ b/source4/torture/raw/samba3misc.c
@@ -1007,7 +1007,7 @@ bool torture_samba3_oplock_logoff(struct torture_context *tctx)
echo_req.in.repeat_count = 1;
echo_req.in.size = 1;
- echo_req.in.data = (uint8_t *)"";
+ echo_req.in.data = discard_const_p(uint8_t, "");
status = smb_raw_echo(cli->session->transport, &echo_req);
if (!NT_STATUS_IS_OK(status)) {