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/raw/write.c | |
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/raw/write.c')
-rw-r--r-- | source4/torture/raw/write.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c index ff82dc19d8..a1fde16611 100644 --- a/source4/torture/raw/write.c +++ b/source4/torture/raw/write.c @@ -66,7 +66,7 @@ /* setup a random buffer based on a seed */ -static void setup_buffer(uint8_t *buf, uint_t seed, int len) +static void setup_buffer(uint8_t *buf, unsigned int seed, int len) { int i; srandom(seed); @@ -76,7 +76,7 @@ static void setup_buffer(uint8_t *buf, uint_t seed, int len) /* check a random buffer based on a seed */ -static bool check_buffer(uint8_t *buf, uint_t seed, int len, const char *location) +static bool check_buffer(uint8_t *buf, unsigned int seed, int len, const char *location) { int i; srandom(seed); @@ -104,7 +104,7 @@ static bool test_write(struct torture_context *tctx, uint8_t *buf; const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; - uint_t seed = time(NULL); + unsigned int seed = time(NULL); union smb_fileinfo finfo; buf = talloc_zero_array(tctx, uint8_t, maxsize); @@ -232,7 +232,7 @@ static bool test_writex(struct torture_context *tctx, uint8_t *buf; const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; - uint_t seed = time(NULL); + unsigned int seed = time(NULL); union smb_fileinfo finfo; int max_bits=63; @@ -420,7 +420,7 @@ static bool test_writeunlock(struct torture_context *tctx, uint8_t *buf; const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; - uint_t seed = time(NULL); + unsigned int seed = time(NULL); union smb_fileinfo finfo; buf = talloc_zero_array(tctx, uint8_t, maxsize); @@ -568,7 +568,7 @@ static bool test_writeclose(struct torture_context *tctx, uint8_t *buf; const int maxsize = 90000; const char *fname = BASEDIR "\\test.txt"; - uint_t seed = time(NULL); + unsigned int seed = time(NULL); union smb_fileinfo finfo; buf = talloc_zero_array(tctx, uint8_t, maxsize); |