]> git.saurik.com Git - apt.git/commitdiff
Fix sintax error on apt-cache
authorOtavio Salvador <otavio@debian.org>
Wed, 23 Mar 2005 21:07:27 +0000 (21:07 +0000)
committerOtavio Salvador <otavio@debian.org>
Wed, 23 Mar 2005 21:07:27 +0000 (21:07 +0000)
cmdline/apt-cache.cc

index a3f840ce38f55d9df291507a06bc7dd9100f2efa..7f871f0730860c35eb59f3d8693c74a023bf2f1c 100644 (file)
@@ -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;