Closed Bug 678054 Opened 8 years ago Closed 8 years ago

Fix c++0x initializer list error found by clang

Categories

(Core :: Widget: Cocoa, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: espindola, Unassigned)

Details

Attachments

(1 file)

Attached patch fix buildSplinter Review
Fix build with clang and c++0x.
    The first element in a NSPoint is a CGFloat, so in c++0x we need an
    explicit cast when using aX in an initializer list.
Attachment #552213 - Flags: review?(mh+mozilla)
Attachment #552213 - Flags: review?(mh+mozilla) → review?(joshmoz)
Attachment #552213 - Flags: review?(joshmoz) → review+
https://hg.mozilla.org/mozilla-central/rev/5f27c21fe7f0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.