From d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Tue, 5 Jan 2010 09:42:54 -0800 Subject: Change uint_t to unsigned int in source4 Signed-off-by: Stefan Metzmacher --- source4/libcli/raw/raweas.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'source4/libcli/raw/raweas.c') diff --git a/source4/libcli/raw/raweas.c b/source4/libcli/raw/raweas.c index ae3d4ce50a..5f06e7001d 100644 --- a/source4/libcli/raw/raweas.c +++ b/source4/libcli/raw/raweas.c @@ -26,9 +26,9 @@ This assumes the names are strict ascii, which should be a reasonable assumption */ -size_t ea_list_size(uint_t num_eas, struct ea_struct *eas) +size_t ea_list_size(unsigned int num_eas, struct ea_struct *eas) { - uint_t total = 4; + unsigned int total = 4; int i; for (i=0;idata + ofs; @@ -213,7 +213,7 @@ NTSTATUS ea_pull_list(const DATA_BLOB *blob, */ NTSTATUS ea_pull_list_chained(const DATA_BLOB *blob, TALLOC_CTX *mem_ctx, - uint_t *num_eas, struct ea_struct **eas) + unsigned int *num_eas, struct ea_struct **eas) { int n; uint32_t ofs; @@ -228,7 +228,7 @@ NTSTATUS ea_pull_list_chained(const DATA_BLOB *blob, *eas = NULL; while (ofs < blob->length) { - uint_t len; + unsigned int len; DATA_BLOB blob2; uint32_t next_ofs = IVAL(blob->data, ofs); @@ -261,7 +261,7 @@ NTSTATUS ea_pull_list_chained(const DATA_BLOB *blob, /* pull a ea_name from a buffer. Return the number of bytes consumed */ -static uint_t ea_pull_name(const DATA_BLOB *blob, +static unsigned int ea_pull_name(const DATA_BLOB *blob, TALLOC_CTX *mem_ctx, struct ea_name *ea) { @@ -289,7 +289,7 @@ static uint_t ea_pull_name(const DATA_BLOB *blob, */ NTSTATUS ea_pull_name_list(const DATA_BLOB *blob, TALLOC_CTX *mem_ctx, - uint_t *num_names, struct ea_name **ea_names) + unsigned int *num_names, struct ea_name **ea_names) { int n; uint32_t ea_size, ofs; @@ -309,7 +309,7 @@ NTSTATUS ea_pull_name_list(const DATA_BLOB *blob, *ea_names = NULL; while (ofs < ea_size) { - uint_t len; + unsigned int len; DATA_BLOB blob2; blob2.data = blob->data + ofs; @@ -337,7 +337,7 @@ NTSTATUS ea_pull_name_list(const DATA_BLOB *blob, put a ea_name list into a data blob */ bool ea_push_name_list(TALLOC_CTX *mem_ctx, - DATA_BLOB *data, uint_t num_names, struct ea_name *eas) + DATA_BLOB *data, unsigned int num_names, struct ea_name *eas) { int i; uint32_t ea_size; @@ -354,7 +354,7 @@ bool ea_push_name_list(TALLOC_CTX *mem_ctx, off = 4; for (i=0;idata, off, nlen); memcpy(data->data+off+1, eas[i].name.s, nlen+1); off += 1+nlen+1; -- cgit