diff --git a/xpcom/tests/TestBuffers.cpp b/xpcom/tests/TestBuffers.cpp index ff051a0cd6d..403ec3feb26 100644 --- a/xpcom/tests/TestBuffers.cpp +++ b/xpcom/tests/TestBuffers.cpp @@ -172,7 +172,7 @@ TestMallocBuffers(PRUint32 growByPages, PRUint32 pageCount) rv = NS_NewBuffer(&buffer, NS_PAGEMGR_PAGE_SIZE * growByPages, NS_PAGEMGR_PAGE_SIZE * pageCount, - nsnull); + nsnull); if (NS_FAILED(rv)) { printf("failed to create buffer\n"); return rv; @@ -192,7 +192,7 @@ TestPageBuffers(PRUint32 growByPages, PRUint32 pageCount) rv = NS_NewPageBuffer(&buffer, NS_PAGEMGR_PAGE_SIZE * growByPages, NS_PAGEMGR_PAGE_SIZE * pageCount, - nsnull); + nsnull); if (NS_FAILED(rv)) { printf("failed to create buffer\n"); return rv; diff --git a/xpcom/tests/TestPipes.cpp b/xpcom/tests/TestPipes.cpp index 3e5320396ea..36a9c516439 100644 --- a/xpcom/tests/TestPipes.cpp +++ b/xpcom/tests/TestPipes.cpp @@ -169,7 +169,7 @@ main(int argc, char* argv[]) } #endif // test for small buffers - rv = NS_NewPipe(&in, &out, 12, 24, PR_FALSE, nsnull); + rv = NS_NewPipe(&in, &out, 12, 24, PR_TRUE, nsnull); if (NS_FAILED(rv)) { printf("NewPipe failed\n"); return -1; @@ -184,7 +184,7 @@ main(int argc, char* argv[]) } // test for large buffers - rv = NS_NewPipe(&in, &out, 4096, 4096*16, PR_FALSE, nsnull); + rv = NS_NewPipe(&in, &out, 4096, 4096*16, PR_TRUE, nsnull); if (NS_FAILED(rv)) { printf("NewPipe failed\n"); return -1;