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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla9

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #562462 - Flags: review?(smichaud)
Comment on attachment 562462 [details] [diff] [review] fix: s/int/size_t/ Thanks for catching this.
Attachment #562462 - Flags: review?(smichaud) → review+
Good catch! I wasn't thinking of it at the time.
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Whiteboard: [inbound]
Blocks: 704622
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: