From 770e3307ce3da928762e15a136c562df86a9c799 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 1 Jun 2004 10:12:52 +0000 Subject: r962: convert 'unsigned' and 'unsigned int' to uint_t metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38) --- source4/torture/nbench/nbio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/torture/nbench/nbio.c') 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; -- cgit