From 08e339f350b75bec0f0031479f3e642d41b4c83e Mon Sep 17 00:00:00 2001 From: "mrbkap%gmail.com" Date: Sat, 28 Jan 2006 01:21:46 +0000 Subject: [PATCH] Try to fix an infinite loop on startup (bug 324667, r+sr=jst). git-svn-id: svn://10.0.0.236/trunk@188379 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/parser/htmlparser/src/nsExpatDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/parser/htmlparser/src/nsExpatDriver.cpp b/mozilla/parser/htmlparser/src/nsExpatDriver.cpp index 47caeb04a69..ecc9c48dedd 100644 --- a/mozilla/parser/htmlparser/src/nsExpatDriver.cpp +++ b/mozilla/parser/htmlparser/src/nsExpatDriver.cpp @@ -954,7 +954,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, PRBool& aFlushTokens) // the error occurred). // The length of the last line that Expat has parsed. - PRUint32 lastLineLength = XML_GetCurrentColumnNumber(mExpatParser); + PRInt32 lastLineLength = XML_GetCurrentColumnNumber(mExpatParser); if (lastLineLength <= consumed) { // The length of the last line was less than what expat consumed, so