summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:06:31 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:06:31 +0000
commitea7f63633bd86d134f543686e4f285a6873c5638 (patch)
treedad504035ad0c7cbb357af6c6b5a085fc39f2857 /cmdline
parent5e14c452578c536077a994e3a3c1cc4829ba6637 (diff)
* Suppress a signed/unsigned warning in apt-cache.cc:Di...
Author: mdz Date: 2004-04-30 04:34:03 GMT * Suppress a signed/unsigned warning in apt-cache.cc:DisplayRecord
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index de7b95476..b3468a97a 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cache.cc,v 1.71 2004/01/04 19:00:10 mdz Exp $
+// $Id: apt-cache.cc,v 1.72 2004/04/30 04:34:03 mdz Exp $
/* ######################################################################
apt-cache - Manages the cache files
@@ -1197,7 +1197,7 @@ bool DisplayRecord(pkgCache::VerIterator V)
Buffer[V.FileList()->Size] = '\n';
if (PkgF.Seek(V.FileList()->Offset) == false ||
PkgF.Read(Buffer,V.FileList()->Size) == false ||
- fwrite(Buffer,1,V.FileList()->Size+1,stdout) < V.FileList()->Size+1)
+ fwrite(Buffer,1,V.FileList()->Size+1,stdout) < (size_t)(V.FileList()->Size+1))
{
delete [] Buffer;
return false;