Closed
Bug 866947
Opened 7 years ago
Closed 7 years ago
nsDocument.cpp:8933:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Categories
(Core :: DOM: Core & HTML, defect)
Not set
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.17 KB,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
New build warning: { content/base/src/nsDocument.cpp:8933:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] mImageTracker.Count() < sOnloadDecodeLimit)) ^ } sOnloadDecodeLimit is signed, and mImageTracker.Count() is unsigned (from http://mxr.mozilla.org/mozilla-central/source/xpcom/glue/nsBaseHashtable.h#86 )
Assignee | ||
Comment 1•7 years ago
|
||
I suspect we should just make this pref an unsigned value. It's a count limit, and a negative count is nonsensical (as is a negative limit on a count).
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #743311 -
Flags: review?(justin.lebar+bug)
Updated•7 years ago
|
Attachment #743311 -
Flags: review?(justin.lebar+bug) → review+
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b1c9e6a9abce
Flags: in-testsuite-
Comment 4•7 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b1c9e6a9abce
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•9 months ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•