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

RESOLVED FIXED in mozilla8

Status

()

Core
Widget: Cocoa
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: espindola, Unassigned)

Tracking

unspecified
mozilla8
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 552213 [details] [diff] [review]
fix build

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)

Updated

6 years ago
Attachment #552213 - Flags: review?(joshmoz) → review+
https://hg.mozilla.org/mozilla-central/rev/5f27c21fe7f0
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.