fixed warnings

git-svn-id: svn://10.0.0.236/trunk@33653 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-06-03 23:03:08 +00:00
parent 822b8f09da
commit 6f748adfbe
3 changed files with 9 additions and 9 deletions

View File

@@ -77,11 +77,11 @@ public:
}
}
virtual PRBool Alloc(nsStr& aDest,PRInt32 aCount) {
virtual PRBool Alloc(nsStr& aDest,PRUint32 aCount) {
//we're given the acount value in charunits; we have to scale up by the charsize.
int theShift=4;
PRInt32 theNewCapacity=eDefaultSize;
int theShift=4;
PRUint32 theNewCapacity=eDefaultSize;
while(theNewCapacity<aCount){
theNewCapacity<<=1;
theShift++;