diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:28 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:28 +0000 |
commit | 7a658e661330d4832acdf221966f351408f99b0f (patch) | |
tree | 45b206d7f05553c364dbdf84ac420daa9690cab9 /apt-pkg | |
parent | a656821931a863ffcf46a719a57206eb0d2b11b3 (diff) |
Fixed signed conversion
Author: jgg
Date: 1998-11-13 23:20:06 GMT
Fixed signed conversion
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/depcache.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 68c452f31..db1cdad62 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: depcache.cc,v 1.4 1998/10/24 04:58:05 jgg Exp $ +// $Id: depcache.cc,v 1.5 1998/11/13 23:20:06 jgg Exp $ /* ###################################################################### Dependency Cache - Caches Dependency information. @@ -219,8 +219,8 @@ void pkgDepCache::AddSizes(const PkgIterator &Pkg,long Mult) if (Pkg->CurrentVer != 0 && P.InstallVer != (Version *)Pkg.CurrentVer() && P.InstallVer != 0) { - iUsrSize += Mult*(P.InstVerIter(*this)->InstalledSize - - Pkg.CurrentVer()->InstalledSize); + iUsrSize += Mult*((signed)P.InstVerIter(*this)->InstalledSize - + (signed)Pkg.CurrentVer()->InstalledSize); iDownloadSize += Mult*P.InstVerIter(*this)->Size; } |