Attempt to fix bustage from b375e530a90b by adding parens to hopefully appease gcc.

This commit is contained in:
Rob Arnold 2010-05-23 23:47:34 -04:00
parent 3899a2be6b
commit b381fdfc4a

View File

@ -1470,7 +1470,7 @@ nsRect nsRegion::GetLargestRectangle () const {
PRInt32 matrixSize = matrixHeight * matrixWidth;
nsTArray<PRInt64> areas(matrixSize);
areas.SetLength(matrixSize);
memset(areas.Elements(), 0, matrixSize * sizeof PRInt64);
memset(areas.Elements(), 0, matrixSize * sizeof(PRInt64));
iter.Reset();
while ((currentRect = iter.Next())) {