warning: comparison between signed and unsigned integer expressions in nsContentUtils::ParseIntMarginValue() and nsIContentUtils::FindInternalContentViewer()

RESOLVED FIXED

Status

()

RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
content/base/src/nsContentUtils.cpp:
 In static member function ‘static PRBool nsContentUtils::ParseIntMarginValue(const nsAString_internal&, nsIntMargin&)’:
950: warning: comparison between signed and unsigned integer expressions

 In member function ‘virtual already_AddRefed<nsIDocumentLoaderFactory> nsIContentUtils::FindInternalContentViewer(const char*, nsIContentUtils::ContentViewerType*)’:
6225: warning: comparison between signed and unsigned integer expressions
6240: warning: comparison between signed and unsigned integer expressions
(Assignee)

Comment 1

9 years ago
Created attachment 457834 [details] [diff] [review]
patch
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #457834 - Flags: review?(Olli.Pettay)
Attachment #457834 - Flags: review?(Olli.Pettay) → review+
Keywords: checkin-needed
(Assignee)

Comment 2

9 years ago
Comment on attachment 457834 [details] [diff] [review]
patch

tiny local changes to reduce warnings
Attachment #457834 - Flags: approval2.0?

Comment 3

9 years ago
http://hg.mozilla.org/mozilla-central/rev/20aa261b3b00
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.