diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-11 21:39:50 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-11 21:39:50 +1100 |
commit | 7c64ba3fc505c14c172d9b2d7695a3104b4c49f5 (patch) | |
tree | 980106bf9b34dc4eb915388a40b69ab626df1218 | |
parent | 9ba3024ec3196a2e59c8af7dd80c64b53409489a (diff) |
Fix compile warning
-rw-r--r-- | scp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -42,11 +42,11 @@ and ssh has the necessary privileges.) | |||
42 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 42 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
43 | * SUCH DAMAGE. | 43 | * SUCH DAMAGE. |
44 | * | 44 | * |
45 | * $Id: scp.c,v 1.3 1999/11/11 01:25:14 damien Exp $ | 45 | * $Id: scp.c,v 1.4 1999/11/11 10:39:50 damien Exp $ |
46 | */ | 46 | */ |
47 | 47 | ||
48 | #include "includes.h" | 48 | #include "includes.h" |
49 | RCSID("$Id: scp.c,v 1.3 1999/11/11 01:25:14 damien Exp $"); | 49 | RCSID("$Id: scp.c,v 1.4 1999/11/11 10:39:50 damien Exp $"); |
50 | 50 | ||
51 | #include "ssh.h" | 51 | #include "ssh.h" |
52 | #include "xmalloc.h" | 52 | #include "xmalloc.h" |
@@ -976,7 +976,7 @@ run_err(const char *fmt, ...) | |||
976 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 976 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
977 | * SUCH DAMAGE. | 977 | * SUCH DAMAGE. |
978 | * | 978 | * |
979 | * $Id: scp.c,v 1.3 1999/11/11 01:25:14 damien Exp $ | 979 | * $Id: scp.c,v 1.4 1999/11/11 10:39:50 damien Exp $ |
980 | */ | 980 | */ |
981 | 981 | ||
982 | char * | 982 | char * |
@@ -1121,7 +1121,7 @@ progressmeter(int flag) | |||
1121 | struct timeval now, td, wait; | 1121 | struct timeval now, td, wait; |
1122 | off_t cursize, abbrevsize; | 1122 | off_t cursize, abbrevsize; |
1123 | double elapsed; | 1123 | double elapsed; |
1124 | unsigned int ratio, barlength, i, remaining; | 1124 | int ratio, barlength, i, remaining; |
1125 | char buf[256]; | 1125 | char buf[256]; |
1126 | 1126 | ||
1127 | if (flag == -1) { | 1127 | if (flag == -1) { |