From 727f18afe9c2eec15ee446cb667d9561644b5bf6 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:54:22 +0000 Subject: Daniel Jacobowitz's gcc 2.95 C++ patch Author: jgg Date: 1999-07-20 05:53:32 GMT Daniel Jacobowitz's gcc 2.95 C++ patch --- apt-pkg/algorithms.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-pkg/algorithms.cc') diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index 9ca6ca590..fed9b0be7 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: algorithms.cc,v 1.21 1999/07/09 04:11:33 jgg Exp $ +// $Id: algorithms.cc,v 1.22 1999/07/20 05:53:33 jgg Exp $ /* ###################################################################### Algorithms - A set of misc algorithms @@ -36,7 +36,7 @@ pkgSimulate::pkgSimulate(pkgDepCache &Cache) : pkgPackageManager(Cache), // Fake a filename so as not to activate the media swapping string Jnk = "SIMULATE"; - for (int I = 0; I != Cache.Head().PackageCount; I++) + for (unsigned int I = 0; I != Cache.Head().PackageCount; I++) FileNames[I] = Jnk; } /*}}}*/ -- cgit v1.2.3-70-g09d2