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/smb2/find.c | 6 +++--- source4/libcli/smb2/smb2.h | 2 +- source4/libcli/smb2/util.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/libcli/smb2') diff --git a/source4/libcli/smb2/find.c b/source4/libcli/smb2/find.c index 8ebfd81bcd..2fb52a9f9f 100644 --- a/source4/libcli/smb2/find.c +++ b/source4/libcli/smb2/find.c @@ -95,14 +95,14 @@ NTSTATUS smb2_find(struct smb2_tree *tree, TALLOC_CTX *mem_ctx, smb_search_data structures */ NTSTATUS smb2_find_level_recv(struct smb2_request *req, TALLOC_CTX *mem_ctx, - uint8_t level, uint_t *count, + uint8_t level, unsigned int *count, union smb_search_data **io) { struct smb2_find f; NTSTATUS status; DATA_BLOB b; enum smb_search_data_level smb_level; - uint_t next_ofs=0; + unsigned int next_ofs=0; switch (level) { case SMB2_FIND_DIRECTORY_INFO: @@ -171,7 +171,7 @@ NTSTATUS smb2_find_level_recv(struct smb2_request *req, TALLOC_CTX *mem_ctx, */ NTSTATUS smb2_find_level(struct smb2_tree *tree, TALLOC_CTX *mem_ctx, struct smb2_find *f, - uint_t *count, union smb_search_data **io) + unsigned int *count, union smb_search_data **io) { struct smb2_request *req; diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h index ba626fbe06..26b9bcb2a1 100644 --- a/source4/libcli/smb2/smb2.h +++ b/source4/libcli/smb2/smb2.h @@ -103,7 +103,7 @@ struct smb2_transport { struct { void (*func)(struct smb2_transport *, void *); void *private_data; - uint_t period; + unsigned int period; } idle; struct { diff --git a/source4/libcli/smb2/util.c b/source4/libcli/smb2/util.c index 992bd5c1d9..8b4a86f332 100644 --- a/source4/libcli/smb2/util.c +++ b/source4/libcli/smb2/util.c @@ -109,7 +109,7 @@ int smb2_deltree(struct smb2_tree *tree, const char *dname) { NTSTATUS status; uint32_t total_deleted = 0; - uint_t count, i; + unsigned int count, i; union smb_search_data *list; TALLOC_CTX *tmp_ctx = talloc_new(tree); struct smb2_find f; -- cgit