Fix build error on 32-bit host platform (no function max(int, long int)). I unfortunately can't verify if this works or fails on a 64-bit host though.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34228 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2009-11-25 00:42:58 +00:00
parent a8a03488b1
commit bf0f20ea81

View File

@ -198,7 +198,7 @@ DefaultCatalog::WriteToFile(const char *path)
return res;
BMallocIO mallocIO;
mallocIO.SetBlockSize(max(fCatMap.Size()*20, 256L));
mallocIO.SetBlockSize(max(fCatMap.Size()*20, 256));
// set a largish block-size in order to avoid reallocs
res = Flatten(&mallocIO);
if (res == B_OK) {