diff options
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |