diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-01 10:12:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:23 -0500 |
commit | 770e3307ce3da928762e15a136c562df86a9c799 (patch) | |
tree | 95930ce042b039faad683515a13e1d8413871b5d /source4/torture/nbench | |
parent | 98d291423ff581786a369ce373c861f94c654aa0 (diff) | |
download | samba-770e3307ce3da928762e15a136c562df86a9c799.tar.gz samba-770e3307ce3da928762e15a136c562df86a9c799.tar.bz2 samba-770e3307ce3da928762e15a136c562df86a9c799.zip |
r962: convert 'unsigned' and 'unsigned int' to uint_t
metze
(This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r-- | source4/torture/nbench/nbio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index 9f8c6e6c73..a7a82027a3 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -207,14 +207,14 @@ void nb_unlink(const char *fname, int attr, NTSTATUS status) void nb_createx(const char *fname, - unsigned create_options, unsigned create_disposition, int handle, + uint_t create_options, uint_t create_disposition, int handle, NTSTATUS status) { union smb_open io; uint32_t desired_access; NTSTATUS ret; TALLOC_CTX *mem_ctx; - unsigned flags = 0; + uint_t flags = 0; struct ftable *f; mem_ctx = talloc_init("raw_open"); @@ -335,7 +335,7 @@ void nb_write(int handle, int offset, int size, int ret_size, NTSTATUS status) } -void nb_lockx(int handle, unsigned offset, int size, NTSTATUS status) +void nb_lockx(int handle, uint_t offset, int size, NTSTATUS status) { union smb_lock io; int i; @@ -361,7 +361,7 @@ void nb_lockx(int handle, unsigned offset, int size, NTSTATUS status) check_status("LockX", status, ret); } -void nb_unlockx(int handle, unsigned offset, int size, NTSTATUS status) +void nb_unlockx(int handle, uint_t offset, int size, NTSTATUS status) { union smb_lock io; int i; |