updated the nsSupportsArray::Count() api usage

This commit is contained in:
valeski%netscape.com 1999-05-14 17:25:27 +00:00
Родитель 7b9c361abe
Коммит 9750b0449d
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -292,7 +292,8 @@ SerialReadTest(char* dirName)
gVolume = 0;
// now that we've forked all the async requests, wait until they're done
PRUint32 threadCount = threads->Count();
PRUint32 threadCount;
rv = threads->Count(&threadCount);
for (PRUint32 i = 0; i < threadCount; i++) {
nsIThread* thread = (nsIThread*)(*threads)[i];
thread->Join();
@ -353,7 +354,8 @@ ParallelReadTest(char* dirName, nsIFileTransportService* fts)
}
// now that we've forked all the async requests, wait until they're done
PRUint32 threadCount = threads->Count();
PRUint32 threadCount;
rv = threads->Count(&threadCount);
for (PRUint32 i = 0; i < threadCount; i++) {
nsIThread* thread = (nsIThread*)(*threads)[i];
thread->Join();