summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-07-14 15:54:25 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-07-14 15:54:25 +0200
commitdbbc549457825d5b6507fdd62bcf323ed3a3fb2a (patch)
tree9a92155f1066bf4ad177537a90279b3f85a2ed04 /apt-pkg/acquire.h
parentd4cfaed3d822b207f24ce11768ee14682a0c8f6b (diff)
downloadapt-dbbc549457825d5b6507fdd62bcf323ed3a3fb2a.tar.gz
replace the last standing double's with long long
Diffstat (limited to 'apt-pkg/acquire.h')
-rw-r--r--apt-pkg/acquire.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h
index 8fad91497..c9eaa67d1 100644
--- a/apt-pkg/acquire.h
+++ b/apt-pkg/acquire.h
@@ -650,8 +650,6 @@ struct pkgAcquire::MethodConfig
/** \brief A monitor object for downloads controlled by the pkgAcquire class. {{{
*
* \todo Why protected members?
- *
- * \todo Should the double members be uint64_t?
*/
class pkgAcquireStatus
{
@@ -669,34 +667,34 @@ class pkgAcquireStatus
/** \brief The number of bytes fetched as of the previous call to
* pkgAcquireStatus::Pulse, including local items.
*/
- double LastBytes;
+ unsigned long long LastBytes;
/** \brief The current rate of download as of the most recent call
* to pkgAcquireStatus::Pulse, in bytes per second.
*/
- double CurrentCPS;
+ unsigned long long CurrentCPS;
/** \brief The number of bytes fetched as of the most recent call
* to pkgAcquireStatus::Pulse, including local items.
*/
- double CurrentBytes;
+ unsigned long long CurrentBytes;
/** \brief The total number of bytes that need to be fetched.
*
* \warning This member is inaccurate, as new items might be
* enqueued while the download is in progress!
*/
- double TotalBytes;
+ unsigned long long TotalBytes;
/** \brief The total number of bytes accounted for by items that
* were successfully fetched.
*/
- double FetchedBytes;
+ unsigned long long FetchedBytes;
/** \brief The amount of time that has elapsed since the download
* started.
*/
- unsigned long ElapsedTime;
+ unsigned long long ElapsedTime;
/** \brief The total number of items that need to be fetched.
*