ContentParent.cpp:654:53: warning: comparison between signed and unsigned integer expressions

RESOLVED FIXED in mozilla6

Status

()

defect
RESOLVED FIXED
8 years ago
5 months ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

Trunk
mozilla6
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [build_warning])

Attachments

(1 attachment)

Filing bug on this warning:

> dom/ipc/ContentParent.cpp: In member function 'void mozilla::dom::ContentParent::SetChildMemoryReporters(const InfallibleTArray<mozilla::dom::MemoryReport>&)':
> dom/ipc/ContentParent.cpp:654:53: warning: comparison between signed and unsigned integer expressions

Simple fix - we're iterating up to nsCOMArray::Count() (a signed value) using "PRUint32 i".

i just wants to be signed.
Posted patch trivial fixSplinter Review
Attachment #528954 - Flags: review?(doug.turner)
Attachment #528954 - Flags: review?(doug.turner) → review+
http://hg.mozilla.org/mozilla-central/rev/c45621e37aa8
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.