From f9d8f8843dc0ab8c9d59abde7222e0f118b86b5d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 16:24:13 +0000 Subject: r884: convert samba4 to use [u]int32_t instead of [u]int32 metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095) --- source4/torture/basic/charset.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'source4/torture/basic/charset.c') diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c index 1a708ac055..5febf873bd 100644 --- a/source4/torture/basic/charset.c +++ b/source4/torture/basic/charset.c @@ -31,8 +31,8 @@ */ static NTSTATUS unicode_open(struct cli_tree *tree, TALLOC_CTX *mem_ctx, - uint32 open_disposition, - const uint32 *u_name, + uint32_t open_disposition, + const uint32_t *u_name, size_t u_name_len) { union smb_open io; @@ -92,8 +92,8 @@ static NTSTATUS unicode_open(struct cli_tree *tree, */ static BOOL test_composed(struct cli_state *cli, TALLOC_CTX *mem_ctx) { - const uint32 name1[] = {0x61, 0x308}; - const uint32 name2[] = {0xe4}; + const uint32_t name1[] = {0x61, 0x308}; + const uint32_t name2[] = {0xe4}; NTSTATUS status1, status2; printf("Testing composite character (a umlaut)\n"); @@ -121,8 +121,8 @@ static BOOL test_composed(struct cli_state *cli, TALLOC_CTX *mem_ctx) */ static BOOL test_diacritical(struct cli_state *cli, TALLOC_CTX *mem_ctx) { - const uint32 name1[] = {0x308}; - const uint32 name2[] = {0x308, 0x308}; + const uint32_t name1[] = {0x308}; + const uint32_t name2[] = {0x308, 0x308}; NTSTATUS status1, status2; printf("Testing naked diacritical (umlaut)\n"); @@ -152,9 +152,9 @@ static BOOL test_diacritical(struct cli_state *cli, TALLOC_CTX *mem_ctx) */ static BOOL test_surrogate(struct cli_state *cli, TALLOC_CTX *mem_ctx) { - const uint32 name1[] = {0xd800}; - const uint32 name2[] = {0xdc00}; - const uint32 name3[] = {0xd800, 0xdc00}; + const uint32_t name1[] = {0xd800}; + const uint32_t name2[] = {0xdc00}; + const uint32_t name3[] = {0xd800, 0xdc00}; NTSTATUS status; printf("Testing partial surrogate\n"); @@ -191,9 +191,9 @@ static BOOL test_surrogate(struct cli_state *cli, TALLOC_CTX *mem_ctx) */ static BOOL test_widea(struct cli_state *cli, TALLOC_CTX *mem_ctx) { - const uint32 name1[] = {'a'}; - const uint32 name2[] = {0xff41}; - const uint32 name3[] = {0xff21}; + const uint32_t name1[] = {'a'}; + const uint32_t name2[] = {0xff41}; + const uint32_t name3[] = {0xff21}; NTSTATUS status; printf("Testing wide-a\n"); -- cgit