summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@debian.org>2005-03-23 21:07:27 +0000
committerOtavio Salvador <otavio@debian.org>2005-03-23 21:07:27 +0000
commit5e126fed99b4b312c72a45668614f42219f8beaf (patch)
treed85aa2ec952720a5919be49b08814d477c5f3626 /cmdline/apt-cache.cc
parenta52f938bcf7f31d348c6ce1d462a8ce14a38b8cc (diff)
Fix sintax error on apt-cache
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index a3f840ce3..7f871f073 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1230,7 +1230,7 @@ bool DisplayRecord(pkgCache::VerIterator V)
*DescP='\0';
// Write all the rest
- if (fwrite(Buffer,1,V.FileList()->Size+1,stdout) < V.FileList()->Size+1))
+ if (fwrite(Buffer,1,V.FileList()->Size+1,stdout) < (size_t)(V.FileList()->Size+1))
{
delete [] Buffer;
return false;