diff options
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,7 +75,7 @@ | |||
75 | */ | 75 | */ |
76 | 76 | ||
77 | #include "includes.h" | 77 | #include "includes.h" |
78 | RCSID("$OpenBSD: scp.c,v 1.51 2001/01/21 19:05:55 markus Exp $"); | 78 | RCSID("$OpenBSD: scp.c,v 1.53 2001/02/04 23:56:22 deraadt Exp $"); |
79 | 79 | ||
80 | #include "xmalloc.h" | 80 | #include "xmalloc.h" |
81 | #include "atomicio.h" | 81 | #include "atomicio.h" |
@@ -1164,8 +1164,8 @@ progressmeter(int flag) | |||
1164 | i++; | 1164 | i++; |
1165 | abbrevsize >>= 10; | 1165 | abbrevsize >>= 10; |
1166 | } | 1166 | } |
1167 | snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %5d %c%c ", | 1167 | snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %5lu %c%c ", |
1168 | (int) abbrevsize, prefixes[i], prefixes[i] == ' ' ? ' ' : 'B'); | 1168 | (unsigned long) abbrevsize, prefixes[i], prefixes[i] == ' ' ? ' ' : 'B'); |
1169 | 1169 | ||
1170 | timersub(&now, &lastupdate, &wait); | 1170 | timersub(&now, &lastupdate, &wait); |
1171 | if (cursize > lastsize) { | 1171 | if (cursize > lastsize) { |