Fixed build bustage caused by undefined min()
git-svn-id: svn://10.0.0.236/trunk@49817 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3f98b22adb
commit
a4303afba6
@ -311,7 +311,7 @@ InputTestConsumer::OnDataAvailable(nsIChannel* channel,
|
||||
URLLoadInfo* info = (URLLoadInfo*)context;
|
||||
|
||||
while (aLength) {
|
||||
size = min(aLength, sizeof(buf));
|
||||
size = PR_MIN(aLength, sizeof(buf));
|
||||
|
||||
rv = aIStream->Read(buf, size, &amt);
|
||||
if (NS_FAILED(rv)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user