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

r19850: Fix IDL warnings.

(This used to be commit 92b8bde561277a6b83048ce003cc29ff1b380255)
This commit is contained in:
Jelmer Vernooij 2006-11-23 00:34:31 +00:00 committed by Gerald (Jerry) Carter
parent 9671a72a4c
commit 68ebe25724
2 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ import "lsa.idl", "security.idl";
/* Function: 0x04 */
NTSTATUS eventlog_GetNumRecords(
[in] policy_handle *handle,
[out] uint32 number
[out] uint32 *number
);
/******************/
@ -119,8 +119,8 @@ import "lsa.idl", "security.idl";
[in] uint32 offset,
[in] uint32 number_of_bytes,
[out,size_is(number_of_bytes)] uint8 *data,
[out] uint32 sent_size,
[out] uint32 real_size
[out] uint32 *sent_size,
[out] uint32 *real_size
);
/*****************/

View File

@ -77,7 +77,7 @@ static bool test_GetNumRecords(struct torture_context *tctx, struct dcerpc_pipe
dcerpc_eventlog_GetNumRecords(p, tctx, &r),
"GetNumRecords failed");
torture_comment(tctx, talloc_asprintf(tctx, "%d records\n", r.out.number));
torture_comment(tctx, talloc_asprintf(tctx, "%d records\n", *r.out.number));
cr.in.handle = cr.out.handle = &handle;
@ -125,7 +125,7 @@ static bool test_ReadEventLog(struct torture_context *tctx,
/* Now read the actual record */
r.in.number_of_bytes = r.out.real_size;
r.in.number_of_bytes = *r.out.real_size;
r.out.data = talloc_size(tctx, r.in.number_of_bytes);
status = dcerpc_eventlog_ReadEventLogW(p, tctx, &r);
@ -134,7 +134,7 @@ static bool test_ReadEventLog(struct torture_context *tctx,
/* Decode a user-marshalled record */
blob.length = r.out.sent_size;
blob.length = *r.out.sent_size;
blob.data = talloc_steal(tctx, r.out.data);
ndr = ndr_pull_init_blob(&blob, tctx);