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
This commit is contained in:
mrbkap%gmail.com
2006-01-28 01:21:46 +00:00
parent 4223907770
commit 08e339f350

View File

@@ -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