removed warnings; r=none

git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-25 05:38:11 +00:00
parent 4aea0e4591
commit fc42d987f5
18 changed files with 26 additions and 40 deletions

View File

@@ -257,7 +257,7 @@ PRBool nsScanner::Insert(const nsString& aBuffer) {
*/
PRBool nsScanner::Append(const nsString& aBuffer) {
PRInt32 theLen=mBuffer.Length();
PRUint32 theLen=mBuffer.Length();
mBuffer.Append(aBuffer);
mTotalRead+=aBuffer.Length();
@@ -279,7 +279,7 @@ PRBool nsScanner::Append(const nsString& aBuffer) {
*/
PRBool nsScanner::Append(const char* aBuffer, PRUint32 aLen){
PRInt32 theLen=mBuffer.Length();
PRUint32 theLen=mBuffer.Length();
if(mUnicodeDecoder) {
PRInt32 unicharBufLen = 0;
@@ -345,7 +345,7 @@ PRBool nsScanner::Append(const PRUnichar* aBuffer, PRUint32 aLen){
CBufDescriptor theDesc(aBuffer,PR_TRUE, aLen+1,aLen);
nsAutoString theBuffer(theDesc);
PRInt32 theLen=mBuffer.Length();
PRUint32 theLen=mBuffer.Length();
mBuffer.Append(theBuffer);
mTotalRead+=aLen;