use MIN not min - unix doesn't have min()

This commit is contained in:
alecf%netscape.com 1999-03-11 20:38:19 +00:00
parent 5be9bf1043
commit dda913f0de

View File

@ -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++)
{