Mac build fix: changed "max" to "llmax"

meow-7.2.2
Leslie Linden 2011-08-19 11:52:33 -07:00
parent cf43558516
commit 38aa19614e
1 changed files with 1 additions and 1 deletions

View File

@ -1703,7 +1703,7 @@ int get_folder_levels(LLInventoryCategory* inv_cat)
for (S32 i=0; i < cats->count(); ++i)
{
LLInventoryCategory* category = cats->get(i);
max_child_levels = max(max_child_levels, get_folder_levels(category));
max_child_levels = llmax(max_child_levels, get_folder_levels(category));
}
return 1 + max_child_levels;