Closed
Bug 773842
Opened 13 years ago
Closed 13 years ago
Fix build warnings under content/
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: dzbarsky, Assigned: dzbarsky)
References
Details
Attachments
(1 file, 1 obsolete file)
16.54 KB,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #642120 -
Flags: review?(jonas)
Comment 2•13 years ago
|
||
David, do you think you could try to add FAIL_ON_WARNINGS = 1 at some places in content/ subdirectories?
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #642120 -
Attachment is obsolete: true
Attachment #642120 -
Flags: review?(jonas)
Attachment #643524 -
Flags: review?(mounir)
Comment 4•13 years ago
|
||
Comment on attachment 643524 [details] [diff] [review]
Patch
Review of attachment 643524 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the nit below fixed.
BTW, make sure to send this to try with "-p all", "-p macosx" isn't going to be enough.
::: content/base/src/nsContentIterator.cpp
@@ +1199,5 @@
> PRInt32 endOffset = mRange->EndOffset();
> MOZ_ASSERT(mCommonParent && startParent && endParent);
> // Bug 767169
> + MOZ_ASSERT((PRUint32)startOffset <= startParent->Length() &&
> + (PRUint32)endOffset <= endParent->Length());
PRUint32(foo) is more C++'y.
Attachment #643524 -
Flags: review?(mounir) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Pushed with your comment.
https://hg.mozilla.org/integration/mozilla-inbound/rev/a0dc2d401d71
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•