(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
This commit is contained in:
@@ -234,7 +234,7 @@ static IniFile *ini_load(const char *filename)
|
||||
uint pos;
|
||||
// add to comment
|
||||
if (ns > a) {
|
||||
a = max(a, 128);
|
||||
a = max(a, 128U);
|
||||
do a*=2; while (a < ns);
|
||||
ReallocT(&comment, comment_alloc = a);
|
||||
}
|
||||
|
Reference in New Issue
Block a user