diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-23 15:22:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:45 -0500 |
commit | 121e074232439817bd2467d847c93885b40e13b7 (patch) | |
tree | c00324b36fcf3553fbbdad90d0bf398a3449e595 /source4/torture/torture.c | |
parent | 1f1a511a278d9f019d50f815b46c1491a97ecdd9 (diff) | |
download | samba-121e074232439817bd2467d847c93885b40e13b7.tar.gz samba-121e074232439817bd2467d847c93885b40e13b7.tar.bz2 samba-121e074232439817bd2467d847c93885b40e13b7.zip |
r1228: use int64_t instead of long long
(jra: please use: void, char int, uint_t, [u]int<8|16|32|64>_t types in new code)
metze
(This used to be commit 626bb153c45405f93a96bc5019241af506fac163)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r-- | source4/torture/torture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 2bb68fcce8..1610445d72 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -1790,11 +1790,11 @@ static BOOL run_deferopen(struct cli_state *cli, int dummy) GetTimeOfDay(&tv_end); if (NT_STATUS_EQUAL(cli_nt_error(cli->tree),NT_STATUS_SHARING_VIOLATION)) { /* Sharing violation errors need to be 1 second apart. */ - long long tdif = usec_time_diff(&tv_end, &tv_start); + int64_t tdif = usec_time_diff(&tv_end, &tv_start); if (tdif < 500000 || tdif > 1500000) { fprintf(stderr,"Timing incorrect %lld.%lld for share violation\n", - tdif / (long long)1000000, - tdif % (long long)1000000); + tdif / (int64_t)1000000, + tdif % (int64_t)1000000); } } } while (NT_STATUS_EQUAL(cli_nt_error(cli->tree),NT_STATUS_SHARING_VIOLATION)); |