git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21650cf
)
r21208: fix a crash bug caused by r21205
author
Andrew Tridgell
<tridge@samba.org>
Wed, 7 Feb 2007 00:54:33 +0000
(
00:54
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:44:45 +0000
(14:44 -0500)
please test patches, even if they look trivial!
(This used to be commit
8134a628f06f0df2ee94612854e0fb3e2efc2eb8
)
source4/torture/rpc/rpc.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/rpc.c
b/source4/torture/rpc/rpc.c
index 1bb2047340a711cc99fd6d50ffa7c0cb5f7b9e2f..6ac457d3577fa7562ab9694e6891346bafea013d 100644
(file)
--- 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;
}