]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsrcrecords.cc
* apt-pkg/depcache.cc:
[apt.git] / apt-pkg / deb / debsrcrecords.cc
index e1c6427e894cf15b0cfeaf9db8cde0fcbd5768cb..9e87ee5dadc8293aa9b3caf9b7ce5afdff966165 100644 (file)
@@ -40,7 +40,7 @@ const char **debSrcRecordParser::Binaries()
    {
       delete [] Buffer;
       // allocate new size based on buffer (but never smaller than 4000)
-      BufSize = max((unsigned long)4000, max(Bins.length()+1,2*BufSize));
+      BufSize = max((unsigned long)4000, max((unsigned long)Bins.length()+1,2*BufSize));
       Buffer = new char[BufSize];
    }