diff options
-rw-r--r-- | source4/torture/rpc/rpc.c | 2 |
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; } |