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

RESOLVED FIXED in mozilla6

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

Trunk
mozilla6
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [build_warning])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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.
(Assignee)

Comment 1

6 years ago
Created attachment 528954 [details] [diff] [review]
trivial fix
Attachment #528954 - Flags: review?(doug.turner)

Updated

6 years ago
Attachment #528954 - Flags: review?(doug.turner) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/mozilla-central/rev/c45621e37aa8
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
You need to log in before you can comment on or make changes to this bug.