From f88bf54c7f6d1c2ef833047eb8327953c304b5ff Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 17:24:24 +0000 Subject: r889: convert samba4 to use [u]int16_t instead of [u]int16 metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3) --- source4/torture/gentest.c | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'source4/torture/gentest.c') diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index 1f33257e6a..c66f5161d5 100644 --- a/source4/torture/gentest.c +++ b/source4/torture/gentest.c @@ -68,8 +68,8 @@ static struct { /* oplock break info */ static struct { BOOL got_break; - uint16 fnum; - uint16 handle; + uint16_t fnum; + uint16_t handle; uint8 level; BOOL do_close; } oplocks[NSERVERS][NINSTANCES]; @@ -94,7 +94,7 @@ static struct { #define BAD_HANDLE 0xFFFE -static BOOL oplock_handler(struct cli_transport *transport, uint16 tid, uint16 fnum, uint8 level, void *private); +static BOOL oplock_handler(struct cli_transport *transport, uint16_t tid, uint16_t fnum, uint8 level, void *private); static void idle_func(struct cli_transport *transport, void *private); /* @@ -206,7 +206,7 @@ static uint_t time_skew(void) /* turn an fnum for an instance into a handle */ -static uint_t fnum_to_handle(int server, int instance, uint16 fnum) +static uint_t fnum_to_handle(int server, int instance, uint16_t fnum) { uint_t i; for (i=0;itransport; tid = SVAL(req->in.hdr, HDR_TID); @@ -704,7 +704,7 @@ static void async_notify(struct cli_request *req) /* the oplock handler will either ack the break or close the file */ -static BOOL oplock_handler(struct cli_transport *transport, uint16 tid, uint16 fnum, uint8 level, void *private) +static BOOL oplock_handler(struct cli_transport *transport, uint16_t tid, uint16_t fnum, uint8 level, void *private) { union smb_close io; NTSTATUS status; @@ -852,7 +852,7 @@ again: for (j=0;j