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/raw/read.c | |
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/raw/read.c')
-rw-r--r-- | source4/torture/raw/read.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c index 5e1d055e22..5fba3f1b31 100644 --- a/source4/torture/raw/read.c +++ b/source4/torture/raw/read.c @@ -48,7 +48,7 @@ /* setup a random buffer based on a seed */ -static void setup_buffer(char *buf, unsigned seed, int len) +static void setup_buffer(char *buf, uint_t seed, int len) { int i; srandom(seed); @@ -58,7 +58,7 @@ static void setup_buffer(char *buf, unsigned seed, int len) /* check a random buffer based on a seed */ -static BOOL check_buffer(char *buf, unsigned seed, int len, int line) +static BOOL check_buffer(char *buf, uint_t seed, int len, int line) { int i; srandom(seed); @@ -86,7 +86,7 @@ static BOOL test_read(struct cli_state *cli, TALLOC_CTX *mem_ctx) const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; const char *test_data = "TEST DATA"; - unsigned seed = time(NULL); + uint_t seed = time(NULL); buf = talloc_zero(mem_ctx, maxsize); @@ -212,7 +212,7 @@ static BOOL test_lockread(struct cli_state *cli, TALLOC_CTX *mem_ctx) const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; const char *test_data = "TEST DATA"; - unsigned seed = time(NULL); + uint_t seed = time(NULL); buf = talloc_zero(mem_ctx, maxsize); @@ -355,7 +355,7 @@ static BOOL test_readx(struct cli_state *cli, TALLOC_CTX *mem_ctx) const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; const char *test_data = "TEST DATA"; - unsigned seed = time(NULL); + uint_t seed = time(NULL); buf = talloc_zero(mem_ctx, maxsize); @@ -540,7 +540,7 @@ static BOOL test_readbraw(struct cli_state *cli, TALLOC_CTX *mem_ctx) const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; const char *test_data = "TEST DATA"; - unsigned seed = time(NULL); + uint_t seed = time(NULL); buf = talloc_zero(mem_ctx, maxsize); |