Closed Bug 1172805 Opened 9 years ago Closed 9 years ago

Fix enum comparison warnings in nsAppShell

Categories

(Core Graveyard :: Widget: Gonk, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: boris, Assigned: boris)

Details

Attachments

(1 file)

Fix these warnings:

/widget/gonk/nsAppShell.cpp: In member function 'void GeckoInputReaderPolicy::setDisplayInfo()':
/widget/gonk/nsAppShell.cpp:567:19: warning: comparison between 'enum nsIScreen::<anonymous>' and 'enum android::<anonymous>' [-Wenum-compare]
/widget/gonk/nsAppShell.cpp:570:19: warning: comparison between 'enum nsIScreen::<anonymous>' and 'enum android::<anonymous>' [-Wenum-compare]
/widget/gonk/nsAppShell.cpp:573:19: warning: comparison between 'enum nsIScreen::<anonymous>' and 'enum android::<anonymous>' [-Wenum-compare]
/widget/gonk/nsAppShell.cpp:576:19: warning: comparison between 'enum nsIScreen::<anonymous>' and 'enum android::<anonymous>' [-Wenum-compare]
Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
Attachment #8617178 - Flags: review?(mwu)
Attachment #8617178 - Flags: review?(mwu) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/23450c433423
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: