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

@@ -705,8 +705,8 @@ nsHtml5TreeBuilder::StartPlainTextViewSource(const nsAutoString& aTitle)
// XUL will add the "Source of: " prefix.
uint32_t length = aTitle.Length();
if (length > PR_INT32_MAX) {
length = PR_INT32_MAX;
if (length > INT32_MAX) {
length = INT32_MAX;
}
characters(aTitle.get(), 0, (int32_t)length);
endTag(nsHtml5ElementName::ELT_TITLE);