diff options
author | Matt Kraai <mkraai@beckman.com> | 2010-01-05 09:42:54 -0800 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-02 07:18:18 +0100 |
commit | d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022 (patch) | |
tree | 9ee0823d8f3e43217989f15c442ab747e84d22c2 /source4/torture/nbench | |
parent | a47b6ebb3036f5073fdb2320b584345d3604c38d (diff) | |
download | samba-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/torture/nbench')
-rw-r--r-- | source4/torture/nbench/nbio.c | 22 |
1 files changed, 11 insertions, 11 deletions
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; |