Explorar o código

Fix sintax error on apt-cache

Otavio Salvador %!s(int64=21) %!d(string=hai) anos
pai
achega
5e126fed99
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cmdline/apt-cache.cc

+ 1 - 1
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;