From 85f4f73ed4eacc96005e1eb8a591c84474c20845 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 22 Feb 2011 10:26:04 +0100 Subject: s4:torture/rpc/netlogon.c - fix two build warnings by casts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Metzmacher Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104 --- source4/torture/rpc/netlogon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 30c42c0f4e..e05fe9bc67 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -776,7 +776,7 @@ static bool test_netlogon_ops_args(struct dcerpc_pipe *p, struct torture_context for (i=52;i<53;i++) { ZERO_STRUCT(auth2); /* the authenticator should be ignored by the server */ - generate_random_buffer(&auth, sizeof(auth)); + generate_random_buffer((uint8_t *) &auth, sizeof(auth)); r.in.validation_level = i; @@ -815,7 +815,7 @@ static bool test_netlogon_ops_args(struct dcerpc_pipe *p, struct torture_context for (i=2;i<=3;i++) { ZERO_STRUCT(auth2); /* the authenticator should be ignored by the server */ - generate_random_buffer(&auth, sizeof(auth)); + generate_random_buffer((uint8_t *) &auth, sizeof(auth)); r.in.validation_level = i; -- cgit