Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan

This commit is contained in:
Isaac Aggrey
2012-09-28 01:57:33 -05:00
parent 56e5a1bd47
commit 990e90e88a
230 changed files with 485 additions and 485 deletions

View File

@@ -198,7 +198,7 @@ nsHtml5Parser::Parse(const nsAString& aSourceBuffer,
if (NS_FAILED(rv = mExecutor->IsBroken())) {
return rv;
}
if (aSourceBuffer.Length() > PR_INT32_MAX) {
if (aSourceBuffer.Length() > INT32_MAX) {
return mExecutor->MarkAsBroken(NS_ERROR_OUT_OF_MEMORY);
}