summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-02-07 00:54:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:45 -0500
commitb115da2230944aa13ea777ccc65bf978e257e4cb (patch)
tree641535b5d59bcc2d8d73fc08390422fe874c4ccb /source4/torture
parent21650cf3779f20aad808f8ce4e95daa7a2d0e1e7 (diff)
downloadsamba-b115da2230944aa13ea777ccc65bf978e257e4cb.tar.gz
samba-b115da2230944aa13ea777ccc65bf978e257e4cb.tar.bz2
samba-b115da2230944aa13ea777ccc65bf978e257e4cb.zip
r21208: fix a crash bug caused by r21205
please test patches, even if they look trivial! (This used to be commit 8134a628f06f0df2ee94612854e0fb3e2efc2eb8)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
index 1bb2047340..6ac457d357 100644
--- a/source4/torture/rpc/rpc.c
+++ b/source4/torture/rpc/rpc.c
@@ -117,7 +117,7 @@ _PUBLIC_ struct torture_tcase *torture_suite_add_rpc_iface_tcase(struct torture_
tcase->setup = torture_rpc_setup;
tcase->teardown = torture_rpc_teardown;
- tcase->data = (void *)&table;
+ tcase->data = discard_const(table);
return tcase;
}