summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:03 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:03 +0000
commit6d5dd02a49b18017c296c2d76bc6bb1d9f1ef6ac (patch)
tree109a3da8b5af3304fdc9d2e9f753edb611e54b95 /apt-pkg/acquire.cc
parent10861bb5068971efe4de96e679a711ab45bb3e25 (diff)
Minor fixes for FTP support
Author: jgg Date: 1999-03-15 08:10:39 GMT Minor fixes for FTP support
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r--apt-pkg/acquire.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index a78dd1906..aadfe2efb 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire.cc,v 1.27 1999/03/13 23:30:04 jgg Exp $
+// $Id: acquire.cc,v 1.28 1999/03/15 08:10:39 jgg Exp $
/* ######################################################################
Acquire - File Acquiration
@@ -709,7 +709,7 @@ void pkgAcquireStatus::Pulse(pkgAcquire *Owner)
else
CurrentCPS = (CurrentBytes - LastBytes)/Delta;
LastBytes = CurrentBytes;
- ElapsedTime = Delta;
+ ElapsedTime = (unsigned long)Delta;
Time = NewTime;
}
}