silence Coverity warning about implicit conversion issues in ReadAheadLib

RESOLVED FIXED in Firefox 40

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

unspecified
mozilla40
Points:
---

Firefox Tracking Flags

(firefox40 fixed)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Comment 1

3 years ago
Created attachment 8598726 [details] [diff] [review]
silence Coverity warning about implicit conversion issues in ReadAheadLib

I was going to use something awful for the type, like
decltype(elf.ehdr.e_phoff), but that field is of type Elf_Off anyway, so it
seemed simpler to use the shorter type.
Attachment #8598726 - Flags: review?(erahm)
Comment on attachment 8598726 [details] [diff] [review]
silence Coverity warning about implicit conversion issues in ReadAheadLib

Review of attachment 8598726 [details] [diff] [review]:
-----------------------------------------------------------------

r=me
Attachment #8598726 - Flags: review?(erahm) → review+
https://hg.mozilla.org/mozilla-central/rev/84acf9f2f583
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox40: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.