diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-02-01 00:24:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-02-01 00:25:19 +0100 |
commit | b62f428ce90ac0bcd2f0c1551e32634326f2b142 (patch) | |
tree | 34f9466202037ebe09108216ce6488cd3ba2d0fb /lib/ssh.c | |
parent | 9409d0c26c7d46cde20beaec09ef0babb10f3794 (diff) | |
download | curl-bagder/less-long-typecasts.tar.gz |
time_t-fixes: remove typecasts to 'long' for info.filetimebagder/less-long-typecasts
They're now wrong.
Reported-by: Michael Kaufmann
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -1627,7 +1627,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block) break; } if(rc == 0) { - data->info.filetime = (long)attrs.mtime; + data->info.filetime = attrs.mtime; } state(conn, SSH_SFTP_TRANS_INIT); |