* Use max_c() instead of max() in C++ files.
* Updated license header. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18491 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
//----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//----------------------------------------------------------------------
|
||||
/*
|
||||
* Copyright 2002-2006, Haiku Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Tyler Dauwalder
|
||||
* Ingo Weinhold, [email protected]
|
||||
*/
|
||||
|
||||
/*!
|
||||
\file SnifferRules.cpp
|
||||
SnifferRules class implementation
|
||||
@@ -511,7 +516,7 @@ SnifferRules::MaxBytesNeeded()
|
||||
err = fMaxBytesNeeded;
|
||||
MimeSnifferAddonManager* manager = MimeSnifferAddonManager::Default();
|
||||
if (manager) {
|
||||
fMaxBytesNeeded = max(fMaxBytesNeeded,
|
||||
fMaxBytesNeeded = max_c(fMaxBytesNeeded,
|
||||
(ssize_t)manager->MinimalBufferSize());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user