]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsrcrecords.cc
* add "purge" commandline argument, closes: #133421)
[apt.git] / apt-pkg / deb / debsrcrecords.cc
index e1c6427e894cf15b0cfeaf9db8cde0fcbd5768cb..7d5dab747b992e3c14b2a1401d1f019826cdd8f0 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 int)4000, max((unsigned int)Bins.length()+1,2*BufSize));
       Buffer = new char[BufSize];
    }