summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorMatt Kraai <mkraai@beckman.com>2010-01-05 09:42:54 -0800
committerStefan Metzmacher <metze@samba.org>2010-02-02 07:18:18 +0100
commitd8071e7ed7c57e8b0f2d80420e27f9ea7ab63022 (patch)
tree9ee0823d8f3e43217989f15c442ab747e84d22c2 /source4/libcli/smb2
parenta47b6ebb3036f5073fdb2320b584345d3604c38d (diff)
downloadsamba-d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022.tar.gz
samba-d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022.tar.bz2
samba-d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022.zip
Change uint_t to unsigned int in source4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/find.c6
-rw-r--r--source4/libcli/smb2/smb2.h2
-rw-r--r--source4/libcli/smb2/util.c2
3 files changed, 5 insertions, 5 deletions
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;