mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-17 07:33:56 +00:00
use MIN not min - unix doesn't have min()
This commit is contained in:
parent
5be9bf1043
commit
dda913f0de
@ -1673,7 +1673,7 @@ nsresult nsMsgDatabase::RowCellColumnToUInt32(nsIMdbRow *hdrRow, mdb_token colum
|
||||
{
|
||||
PRUint32 result;
|
||||
char *p = (char *) yarn->mYarn_Buf;
|
||||
PRInt32 numChars = min(8, yarn->mYarn_Fill);
|
||||
PRInt32 numChars = MIN(8, yarn->mYarn_Fill);
|
||||
PRInt32 i;
|
||||
for (i=0, result = 0; i<numChars; i++, p++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user