зеркало из https://github.com/mozilla/pjs.git
Bug 723809: Fix signed/unsigned build warning in TestTArray.cpp. r=jlebar
This commit is contained in:
Родитель
1f9772540c
Коммит
9fadf3d8f9
|
@ -881,7 +881,7 @@ static bool test_fallible()
|
|||
// be under that threshold.
|
||||
//
|
||||
// 9 * 512MB > 4GB, so we should definitely OOM by the 9th array.
|
||||
const int numArrays = 9;
|
||||
const unsigned numArrays = 9;
|
||||
FallibleTArray<char> arrays[numArrays];
|
||||
for (PRUint32 i = 0; i < numArrays; i++) {
|
||||
bool success = arrays[i].SetCapacity(512 * 1024 * 1024);
|
||||
|
|
Загрузка…
Ссылка в новой задаче