Closed
Bug 689195
Opened 14 years ago
Closed 14 years ago
nsLocalFileUnix.cpp:1432:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Categories
(Core Graveyard :: File Handling, defect)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla9
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
1.15 KB,
patch
|
smichaud
:
review+
|
Details | Diff | Splinter Review |
Filing bug on this build warning:
> xpcom/io/nsLocalFileUnix.cpp:1432:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
That points to this line:
> 1432 for (int i = 0; i < NS_ARRAY_LENGTH(executableExts); i++) {
which was added in this cset for bug 663899:
https://hg.mozilla.org/mozilla-central/rev/83c0640ea8b1
Patch coming up.
| Assignee | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment on attachment 562462 [details] [diff] [review]
fix: s/int/size_t/
Thanks for catching this.
Attachment #562462 -
Flags: review?(smichaud) → review+
Comment 3•14 years ago
|
||
Good catch! I wasn't thinking of it at the time.
| Assignee | ||
Comment 4•14 years ago
|
||
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Whiteboard: [inbound]
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•