From: Otavio Salvador Date: Wed, 23 Mar 2005 21:07:27 +0000 (+0000) Subject: Fix sintax error on apt-cache X-Git-Tag: 0.7.24ubuntu1~245^2~34 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/5e126fed99b4b312c72a45668614f42219f8beaf?hp=--cc Fix sintax error on apt-cache --- 5e126fed99b4b312c72a45668614f42219f8beaf 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;