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/torture/nbench/nbio.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source4/torture/nbench') diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index 2c9e568003..fa8155e2c3 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -46,8 +46,8 @@ struct lock_info { struct createx_params { char *fname; - uint_t create_options; - uint_t create_disposition; + unsigned int create_options; + unsigned int create_disposition; int handle; }; @@ -72,8 +72,8 @@ static struct { static bool nb_do_createx(struct ftable *f, const char *fname, - uint_t create_options, - uint_t create_disposition, + unsigned int create_options, + unsigned int create_disposition, int handle, NTSTATUS status, bool retry); @@ -82,8 +82,8 @@ static bool nb_do_lockx(bool relock, int handle, off_t offset, int size, NTSTATU static void nb_set_createx_params(struct ftable *f, const char *fname, - uint_t create_options, - uint_t create_disposition, + unsigned int create_options, + unsigned int create_disposition, int handle) { struct createx_params *cp = &f->cp; @@ -455,8 +455,8 @@ bool nb_unlink(const char *fname, int attr, NTSTATUS status, bool retry) static bool nb_do_createx(struct ftable *f, const char *fname, - uint_t create_options, - uint_t create_disposition, + unsigned int create_options, + unsigned int create_disposition, int handle, NTSTATUS status, bool retry) @@ -465,7 +465,7 @@ static bool nb_do_createx(struct ftable *f, uint32_t desired_access; NTSTATUS ret; TALLOC_CTX *mem_ctx; - uint_t flags = 0; + unsigned int flags = 0; mem_ctx = talloc_init("raw_open"); @@ -531,7 +531,7 @@ static bool nb_do_createx(struct ftable *f, } bool nb_createx(const char *fname, - uint_t create_options, uint_t create_disposition, int handle, + unsigned int create_options, unsigned int create_disposition, int handle, NTSTATUS status) { return nb_do_createx(NULL, fname, create_options, create_disposition, handle, status, false); @@ -664,7 +664,7 @@ bool nb_lockx(int handle, off_t offset, int size, NTSTATUS status) return nb_do_lockx(false, handle, offset, size, status); } -bool nb_unlockx(int handle, uint_t offset, int size, NTSTATUS status) +bool nb_unlockx(int handle, unsigned int offset, int size, NTSTATUS status) { union smb_lock io; int i; -- cgit