From eedc1bd69fe04ffaa6faed74f3999b33e797a953 Mon Sep 17 00:00:00 2001 From: "bsmedberg%covad.net" Date: Mon, 14 Nov 2005 16:36:39 +0000 Subject: [PATCH] The XPCOM glue cannot use NSPR, provisional r=bz to fix btek bustage until I can find an XPCOM peer. git-svn-id: svn://10.0.0.236/trunk@184584 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/glue/nsVoidArray.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/glue/nsVoidArray.cpp b/mozilla/xpcom/glue/nsVoidArray.cpp index 43a907806e0..5d8b4e6eac2 100644 --- a/mozilla/xpcom/glue/nsVoidArray.cpp +++ b/mozilla/xpcom/glue/nsVoidArray.cpp @@ -287,8 +287,8 @@ PRBool nsVoidArray::GrowArrayBy(PRInt32 aGrowBy) } else { - newSize = PR_BIT(PR_CeilingLog2(newSize)); - newCapacity = CAPACITYOF_IMPL(newSize); + PR_CEILING_LOG2(newSize, newSize); + newCapacity = CAPACITYOF_IMPL(PR_BIT(newSize)); } } // frees old mImpl IF this succeeds