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

Trunk
mozilla8
All
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Fix build with clang and c++0x.
    ThemeMenuState is defined with a typedef from an integer type, not as an
    enum. Because of that, we need to add explicit casts when "assigning" to
    it in an initializer list.
Created attachment 552218 [details] [diff] [review]
fix build
Attachment #552218 - Flags: review?(mh+mozilla)
Attachment #552218 - Flags: review?(mh+mozilla) → review?(joshmoz)

Updated

6 years ago
Attachment #552218 - Flags: review?(joshmoz) → review+
Keywords: checkin-needed
http://hg.mozilla.org/integration/mozilla-inbound/rev/059713859dcc
Status: NEW → ASSIGNED
Keywords: checkin-needed
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
Version: unspecified → Trunk
OS: Linux → Mac OS X
Hardware: x86_64 → All
https://hg.mozilla.org/mozilla-central/rev/059713859dcc
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
You need to log in before you can comment on or make changes to this bug.