Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc

This commit is contained in:
Dominic Fandrey
2011-06-02 14:56:50 +02:00
parent 260ee642f6
commit 532ec73933
110 changed files with 280 additions and 246 deletions

View File

@@ -73,7 +73,7 @@ nsScriptableInputStream::Read(PRUint32 aCount, char **_retval) {
rv = mInputStream->Available(&count);
if (NS_FAILED(rv)) return rv;
count = PR_MIN(count, aCount);
count = NS_MIN(count, aCount);
buffer = (char*)nsMemory::Alloc(count+1); // make room for '\0'
if (!buffer) return NS_ERROR_OUT_OF_MEMORY;