]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Fix compile warning
authorDamien Miller <djm@mindrot.org>
Thu, 11 Nov 1999 10:39:50 +0000 (21:39 +1100)
committerDamien Miller <djm@mindrot.org>
Thu, 11 Nov 1999 10:39:50 +0000 (21:39 +1100)
scp.c

diff --git a/scp.c b/scp.c
index f6294f90d561641a97387b866c4e348ab704b272..d31eb5cb55e5f92fa5e5e03aecbb1401fc6193dd 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -42,11 +42,11 @@ and ssh has the necessary privileges.)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     $Id: scp.c,v 1.3 1999/11/11 01:25:14 damien Exp $
+ *     $Id: scp.c,v 1.4 1999/11/11 10:39:50 damien Exp $
  */
 
 #include "includes.h"
-RCSID("$Id: scp.c,v 1.3 1999/11/11 01:25:14 damien Exp $");
+RCSID("$Id: scp.c,v 1.4 1999/11/11 10:39:50 damien Exp $");
 
 #include "ssh.h"
 #include "xmalloc.h"
@@ -976,7 +976,7 @@ run_err(const char *fmt, ...)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     $Id: scp.c,v 1.3 1999/11/11 01:25:14 damien Exp $
+ *     $Id: scp.c,v 1.4 1999/11/11 10:39:50 damien Exp $
  */
 
 char *
@@ -1121,7 +1121,7 @@ progressmeter(int flag)
        struct timeval now, td, wait;
        off_t cursize, abbrevsize;
        double elapsed;
-       unsigned int ratio, barlength, i, remaining;
+       int ratio, barlength, i, remaining;
        char buf[256];
 
        if (flag == -1) {