]> andersk Git - openssh.git/blobdiff - scp.c
- deraadt@cvs.openbsd.org 2001/02/04 16:56:23
[openssh.git] / scp.c
diff --git a/scp.c b/scp.c
index 7d818a5588482a636d3133bfaabf61ee02f3b968..26d4c2daa4e5a1b889f652d6e22830f3a9523895 100644 (file)
--- 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) {
This page took 0.033111 seconds and 4 git commands to generate.