summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-25 16:24:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:15 -0500
commitf9d8f8843dc0ab8c9d59abde7222e0f118b86b5d (patch)
tree8c6360be102dee63e893526ac7128e9cd52d362c /source4/torture/basic
parent59e739a2f9f4b10f5f6184ef397f034d09959f26 (diff)
downloadsamba-f9d8f8843dc0ab8c9d59abde7222e0f118b86b5d.tar.gz
samba-f9d8f8843dc0ab8c9d59abde7222e0f118b86b5d.tar.bz2
samba-f9d8f8843dc0ab8c9d59abde7222e0f118b86b5d.zip
r884: convert samba4 to use [u]int32_t instead of [u]int32
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/charset.c24
1 files changed, 12 insertions, 12 deletions
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");