The default bug view has changed. See this FAQ.

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

RESOLVED FIXED in mozilla8

Status

()

Core
Graphics
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: espindola, Assigned: espindola)

Tracking

Trunk
mozilla8
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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

Fix build with clang and c++0x.
    
    In c++0x one cannot use -1 in a position in an initializer list that
    is unsigned. Use UINT_MAX instead.
Attachment #552194 - Flags: review?(mh+mozilla)
Attachment #552194 - Flags: review?(mh+mozilla) → review?(roc)
Attachment #552194 - Flags: review?(roc) → review+
Keywords: checkin-needed

Updated

6 years ago
Assignee: nobody → respindola
http://hg.mozilla.org/integration/mozilla-inbound/rev/6cd84482066b
Status: NEW → ASSIGNED
Keywords: checkin-needed
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
Version: unspecified → Trunk
https://hg.mozilla.org/mozilla-central/rev/6cd84482066b
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.