nsPluginNativeWindowWin.cpp: 'return' : truncation from 'nsresult' to 'bool'

RESOLVED FIXED in mozilla13

Status

()

Core
Plug-ins
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jimm, Assigned: jimm)

Tracking

Trunk
mozilla13
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
http://mxr.mozilla.org/mozilla-central/source/dom/plugins/base/nsPluginNativeWindowWin.cpp#178

e:/builds/moz2_slave/try-w32/build/dom/plugins/base/nsPluginNativeWindowWin.cpp(181) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'
e:/builds/moz2_slave/try-w32/build/dom/plugins/base/nsPluginNativeWindowWin.cpp(182) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'

Poking through a build dump on another bug and noticed these.
(Assignee)

Comment 1

6 years ago
Created attachment 590253 [details] [diff] [review]
patch

Cleans up these warnings plus some others.
Attachment #590253 - Flags: review?
(Assignee)

Updated

6 years ago
Attachment #590253 - Flags: review? → review?(joshmoz)

Updated

6 years ago
Attachment #590253 - Flags: review?(joshmoz) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/874062cc7df7

Comment 3

6 years ago
https://hg.mozilla.org/mozilla-central/rev/874062cc7df7
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.