From 6f748adfbefec3c82f99e5d50da22a0de6e209b3 Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Thu, 3 Jun 1999 23:03:08 +0000 Subject: [PATCH] fixed warnings git-svn-id: svn://10.0.0.236/trunk@33653 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/string/obsolete/nsStr.cpp | 6 +++--- mozilla/xpcom/ds/nsStr.cpp | 6 +++--- mozilla/xpcom/string/obsolete/nsStr.cpp | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mozilla/string/obsolete/nsStr.cpp b/mozilla/string/obsolete/nsStr.cpp index 16bcdc9b99a..5f1f3288007 100644 --- a/mozilla/string/obsolete/nsStr.cpp +++ b/mozilla/string/obsolete/nsStr.cpp @@ -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