Cast to (long long) when using "%lld" in a printf format.

This commit is contained in:
simonb 2001-03-21 00:11:06 +00:00
parent de59def2f2
commit 08e4590096

View File

@ -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);