summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scp.c b/scp.c
index 7d818a558..26d4c2daa 100644
--- a/scp.c
+++ b/scp.c
@@ -75,7 +75,7 @@
75 */ 75 */
76 76
77#include "includes.h" 77#include "includes.h"
78RCSID("$OpenBSD: scp.c,v 1.51 2001/01/21 19:05:55 markus Exp $"); 78RCSID("$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) {