summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-16 15:44:14 +0200
committerVolker Lendecke <vl@samba.org>2008-05-16 15:54:04 +0200
commit12df1406716b3fd95df509de0e40e77191176872 (patch)
treee898b70536ec3eda11ca4ea30d5db8b39b462be3 /source4/torture/rpc
parent7350ddeabfcade6e5feb395f087d036bbbfcf65a (diff)
downloadsamba-12df1406716b3fd95df509de0e40e77191176872.tar.gz
samba-12df1406716b3fd95df509de0e40e77191176872.tar.bz2
samba-12df1406716b3fd95df509de0e40e77191176872.zip
Fix two C++ warnings
(This used to be commit f75f95931c15d57b3111db4dff589be06710aea7)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/schannel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c
index 6acce3f5ad..c9c8c81b3c 100644
--- a/source4/torture/rpc/schannel.c
+++ b/source4/torture/rpc/schannel.c
@@ -520,7 +520,8 @@ struct torture_schannel_bench {
static void torture_schannel_bench_connected(struct composite_context *c)
{
- struct torture_schannel_bench_conn *conn = c->async.private_data;
+ struct torture_schannel_bench_conn *conn =
+ (struct torture_schannel_bench_conn *)c->async.private_data;
struct torture_schannel_bench *s = talloc_get_type(conn->s,
struct torture_schannel_bench);
@@ -613,7 +614,8 @@ static bool torture_schannel_bench_start(struct torture_schannel_bench_conn *con
static void torture_schannel_bench_recv(struct rpc_request *req)
{
bool ret;
- struct torture_schannel_bench_conn *conn = req->async.private_data;
+ struct torture_schannel_bench_conn *conn =
+ (struct torture_schannel_bench_conn *)req->async.private_data;
struct torture_schannel_bench *s = talloc_get_type(conn->s,
struct torture_schannel_bench);