Cast to (long long) when using "%lld" in a printf format.
This commit is contained in:
parent
de59def2f2
commit
08e4590096
2
crypto/dist/ssh/scp.c
vendored
2
crypto/dist/ssh/scp.c
vendored
@ -530,7 +530,7 @@ syserr: run_err("%s: %s", name, strerror(errno));
|
||||
#define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
|
||||
snprintf(buf, sizeof buf, "C%04o %lld %s\n",
|
||||
(u_int) (stb.st_mode & FILEMODEMASK),
|
||||
stb.st_size, last);
|
||||
(long long)stb.st_size, last);
|
||||
if (verbose_mode) {
|
||||
fprintf(stderr, "Sending file modes: %s", buf);
|
||||
fflush(stderr);
|
||||
|
Loading…
Reference in New Issue
Block a user