summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scp.c b/scp.c
index decb8e984..ae24fe2e5 100644
--- a/scp.c
+++ b/scp.c
@@ -551,9 +551,9 @@ syserr: run_err("%s: %s", name, strerror(errno));
551 (long long) stb.st_size, last); 551 (long long) stb.st_size, last);
552#else 552#else
553 /* XXX: Handle integer overflow? */ 553 /* XXX: Handle integer overflow? */
554 snprintf(buf, sizeof buf, "C%04o %ld %s\n", 554 snprintf(buf, sizeof buf, "C%04o %lu %s\n",
555 (u_int) (stb.st_mode & FILEMODEMASK), 555 (u_int) (stb.st_mode & FILEMODEMASK),
556 (long) stb.st_size, last); 556 (u_long) stb.st_size, last);
557#endif 557#endif
558 558
559 if (verbose_mode) { 559 if (verbose_mode) {