summaryrefslogtreecommitdiffstats
path: root/scp.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-05 15:22:50 +0100
committerKevin Steves <stevesk@pobox.com>2001-02-05 15:22:50 +0100
commitadf74cdeca7e96e9cdcc63342c3290fbd0578ff3 (patch)
tree4887ffeceadcaabcd7036321b41cda828882e519 /scp.c
parent - stevesk@cvs.openbsd.org 2001/02/04 06:30:12 (diff)
downloadopenssh-adf74cdeca7e96e9cdcc63342c3290fbd0578ff3.tar.xz
openssh-adf74cdeca7e96e9cdcc63342c3290fbd0578ff3.zip
- deraadt@cvs.openbsd.org 2001/02/04 16:56:23
[scp.c sshd.c] alpha happiness - stevesk@cvs.openbsd.org 2001/02/04 15:12:17 [sshd.c] precedence; ok markus@ - deraadt@cvs.openbsd.org 2001/02/04 08:14:15 [ssh.c sshd.c] make the alpha happy
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 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: scp.c,v 1.51 2001/01/21 19:05:55 markus Exp $");
+RCSID("$OpenBSD: scp.c,v 1.53 2001/02/04 23:56:22 deraadt Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@@ -1164,8 +1164,8 @@ progressmeter(int flag)
i++;
abbrevsize >>= 10;
}
- snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %5d %c%c ",
- (int) abbrevsize, prefixes[i], prefixes[i] == ' ' ? ' ' : 'B');
+ snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %5lu %c%c ",
+ (unsigned long) abbrevsize, prefixes[i], prefixes[i] == ' ' ? ' ' : 'B');
timersub(&now, &lastupdate, &wait);
if (cursize > lastsize) {