diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-01 08:12:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:23 -0500 |
commit | fa2e9ec311b99dee2fbff5ee5fa2c743298dacad (patch) | |
tree | 35dc6a43cb10399e427b2fcd76d24cc23c77151d /source4/torture | |
parent | b88fc7a3911e0ff8b6d7d324028e351281e94c46 (diff) | |
download | samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.gz samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.bz2 samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.zip |
r960: convert 'unsigned int' to uint_t in the most places
metze
(This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/torture.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 266f543f1b..1f4cffa44e 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -321,7 +321,7 @@ static BOOL run_torture(struct cli_state *cli, int dummy) static BOOL rw_torture3(struct cli_state *c, const char *lockfname) { int fnum = -1; - unsigned int i = 0; + uint_t i = 0; char buf[131072]; char buf_rd[131072]; unsigned count; @@ -613,7 +613,7 @@ static BOOL run_locktest1(int dummy) printf("error: This server appears not to support timed lock requests\n"); } printf("server slept for %u seconds for a %u second timeout\n", - (unsigned int)(t2-t1), lock_timeout); + (uint_t)(t2-t1), lock_timeout); if (NT_STATUS_IS_ERR(cli_close(cli1->tree, fnum2))) { printf("close1 failed (%s)\n", cli_errstr(cli1->tree)); @@ -3363,7 +3363,7 @@ static uint32_t open_attrs_table[] = { }; struct trunc_open_results { - unsigned int num; + uint_t num; uint32_t init_attr; uint32_t trunc_attr; uint32_t result_attr; @@ -3405,7 +3405,7 @@ static BOOL run_openattrtest(int dummy) int fnum1; BOOL correct = True; uint16_t attr; - unsigned int i, j, k, l; + uint_t i, j, k, l; int failures = 0; printf("starting open attr test\n"); @@ -3485,7 +3485,7 @@ static BOOL run_openattrtest(int dummy) printf("[%d] getatr check failed. [0x%x] trunc [0x%x] got attr 0x%x, should be 0x%x\n", k, open_attrs_table[i], open_attrs_table[j], - (unsigned int)attr, + (uint_t)attr, attr_results[l].result_attr); correct = False; CHECK_MAX_FAILURES(error_exit); |