diff options
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |