r21205: Fix warning.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 7 Feb 2007 00:16:21 +0000 (00:16 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:44:44 +0000 (14:44 -0500)
Trivial patch from "Lunar Child <luch@etersoft.ru>"
(This used to be commit 1b75a9ff2d7f91f13fbdfd136b40eca14867bf6f)

source4/torture/rpc/rpc.c

index fb304ce20a4c79ea21acb9457e72f28d5fb5c32b..1bb2047340a711cc99fd6d50ffa7c0cb5f7b9e2f 100644 (file)
@@ -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 = table;
+       tcase->data = (void *)&table;
 
        return tcase;
 }