diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:08 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:08 +0000 |
commit | 93641593cafac296b9072288d8ef9e1a526d745b (patch) | |
tree | 5dfa5b05a5a082e2d5acd443141d7c9b09d5f037 /cmdline | |
parent | 9391a747a8b94474e2d75db82dfb7fcef720e9ef (diff) |
Upgraded to eg++ 1.1 and libstdc++2.9
Author: jgg
Date: 1998-10-20 04:33:11 GMT
Upgraded to eg++ 1.1 and libstdc++2.9
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 1bf87349b..4f8de001f 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-get.cc,v 1.3 1998/10/19 23:45:36 jgg Exp $ +// $Id: apt-get.cc,v 1.4 1998/10/20 04:33:18 jgg Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -242,7 +242,7 @@ void ShowEssential(ostream &out,pkgDepCache &Dep) pkgCache::PkgIterator I = Dep.PkgBegin(); string List; bool *Added = new bool[Dep.HeaderP->PackageCount]; - for (int I = 0; I != Dep.HeaderP->PackageCount; I++) + for (unsigned int I = 0; I != Dep.HeaderP->PackageCount; I++) Added[I] = false; for (;I.end() != true; I++) @@ -460,7 +460,6 @@ bool DoUpgrade(CommandLine &CmdL) return false; // Do the upgrade - pkgProblemResolver Resolve(Cache); if (pkgAllUpgrade(Cache) == false) { ShowBroken(c1out,Cache); |