diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-15 22:38:09 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-15 22:31:04 +0000 |
commit | 59e22ba9c06adba09ef40d9b1f8f01c7accc3ae8 (patch) | |
tree | cc5033c2d877961910477bd86eb292c023c01c57 /source4/torture | |
parent | 061766e732490b81df3e9ce5968b281efd8c3c0d (diff) | |
download | samba-59e22ba9c06adba09ef40d9b1f8f01c7accc3ae8.tar.gz samba-59e22ba9c06adba09ef40d9b1f8f01c7accc3ae8.tar.bz2 samba-59e22ba9c06adba09ef40d9b1f8f01c7accc3ae8.zip |
s4:torture/basic/base.c - fix output warnings regarding "time_t"
"time_t" is generally "long int".
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/basic/base.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c index eeba252dc6..d5090e9c1f 100644 --- a/source4/torture/basic/base.c +++ b/source4/torture/basic/base.c @@ -1777,7 +1777,8 @@ static bool run_birthtimetest(struct torture_context *tctx, smbcli_errstr(cli->tree)); correct = false; } else { - fprintf(stdout,"c_time = %d, c_time1 = %d\n",c_time,c_time1); + fprintf(stdout, "c_time = %li, c_time1 = %li\n", + (long) c_time, (long) c_time1); if (c_time1 != c_time) { torture_comment(tctx, "This system updated file \ birth times! Not expected!\n"); @@ -1820,7 +1821,8 @@ static bool run_birthtimetest(struct torture_context *tctx, smbcli_errstr(cli->tree)); correct = false; } else { - fprintf(stdout,"c_time = %d, c_time1 = %d\n",c_time,c_time1); + fprintf(stdout, "c_time = %li, c_time1 = %li\n", + (long) c_time, (long) c_time1); if (c_time1 != c_time) { torture_comment(tctx, "This system updated directory \ birth times! Not Expected!\n"); |