From f88bf54c7f6d1c2ef833047eb8327953c304b5ff Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 17:24:24 +0000 Subject: r889: convert samba4 to use [u]int16_t instead of [u]int16 metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3) --- source4/torture/rpc/samr.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'source4/torture/rpc/samr.c') diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 4b65cc75f9..cce650983a 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -532,7 +532,7 @@ static BOOL test_SetAliasInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, NTSTATUS status; struct samr_SetAliasInfo r; struct samr_QueryAliasInfo q; - uint16 levels[] = {2, 3}; + uint16_t levels[] = {2, 3}; int i; BOOL ret = True; @@ -1538,7 +1538,7 @@ static BOOL test_QueryAliasInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, { NTSTATUS status; struct samr_QueryAliasInfo r; - uint16 levels[] = {1, 2, 3}; + uint16_t levels[] = {1, 2, 3}; int i; BOOL ret = True; @@ -1564,7 +1564,7 @@ static BOOL test_QueryGroupInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, { NTSTATUS status; struct samr_QueryGroupInfo r; - uint16 levels[] = {1, 2, 3, 4}; + uint16_t levels[] = {1, 2, 3, 4}; int i; BOOL ret = True; @@ -1592,8 +1592,8 @@ static BOOL test_SetGroupInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, NTSTATUS status; struct samr_QueryGroupInfo r; struct samr_SetGroupInfo s; - uint16 levels[] = {1, 2, 3, 4}; - uint16 set_ok[] = {0, 1, 1, 1}; + uint16_t levels[] = {1, 2, 3, 4}; + uint16_t set_ok[] = {0, 1, 1, 1}; int i; BOOL ret = True; @@ -1650,7 +1650,7 @@ static BOOL test_QueryUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, { NTSTATUS status; struct samr_QueryUserInfo r; - uint16 levels[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, + uint16_t levels[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 20, 21}; int i; BOOL ret = True; @@ -1677,7 +1677,7 @@ static BOOL test_QueryUserInfo2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, { NTSTATUS status; struct samr_QueryUserInfo2 r; - uint16 levels[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, + uint16_t levels[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 20, 21}; int i; BOOL ret = True; @@ -1968,8 +1968,8 @@ static BOOL test_GetDisplayEnumerationIndex(struct dcerpc_pipe *p, TALLOC_CTX *m NTSTATUS status; struct samr_GetDisplayEnumerationIndex r; BOOL ret = True; - uint16 levels[] = {1, 2, 3, 4, 5}; - uint16 ok_lvl[] = {1, 1, 1, 0, 0}; + uint16_t levels[] = {1, 2, 3, 4, 5}; + uint16_t ok_lvl[] = {1, 1, 1, 0, 0}; int i; for (i=0;i