Author: tridge
Date: 2007-02-07 00:54:33 +0000 (Wed, 07 Feb 2007)
New Revision: 21208

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21208

Log:

fix a crash bug caused by r21205

please test patches, even if they look trivial!

Modified:
   branches/SAMBA_4_0/source/torture/rpc/rpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/rpc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/rpc.c 2007-02-07 00:49:45 UTC (rev 
21207)
+++ branches/SAMBA_4_0/source/torture/rpc/rpc.c 2007-02-07 00:54:33 UTC (rev 
21208)
@@ -117,7 +117,7 @@
 
        tcase->setup = torture_rpc_setup;
        tcase->teardown = torture_rpc_teardown;
-       tcase->data = (void *)&table;
+       tcase->data = discard_const(table);
 
        return tcase;
 }

Reply via email to