1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

Fix two C++ warnings

(This used to be commit f75f95931c15d57b3111db4dff589be06710aea7)
This commit is contained in:
Volker Lendecke 2008-05-16 15:44:14 +02:00
parent 7350ddeabf
commit 12df140671

View File

@ -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);