Closed
Bug 686558
Opened 14 years ago
Closed 14 years ago
Fix nsNetUtil.h warning about "enumeral mismatch"
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: jduell.mcbugs, Unassigned)
References
Details
Attachments
(1 file)
|
1.26 KB,
patch
|
jduell.mcbugs
:
review+
|
Details | Diff | Splinter Review |
The fix for bug 272541 makes gcc spit out a warning about
nsNetUtil.h:1951:32: warning: enumeral mismatch in conditional expression: ‘nsIChannel::<anonymous enum>’ vs ‘nsIChannel::<anonymous enum>
Not sure why gcc objects to the tertiary operator being used here, yet "if..else" works ok, but it does.
| Reporter | ||
Comment 1•14 years ago
|
||
Attachment #560041 -
Flags: review?(bzbarsky)
Comment 2•14 years ago
|
||
Can we just let bug 585099 take care of this instead?
| Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 560041 [details] [diff] [review]
get rid of gcc warning
got verbal +r from bz
Attachment #560041 -
Flags: review?(bzbarsky) → review+
| Reporter | ||
Comment 4•14 years ago
|
||
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
You need to log in
before you can comment on or make changes to this bug.
Description
•