Closed Bug 691801 Opened 9 years ago Closed 9 years ago

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

Categories

(Core :: Plug-ins, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: jimm, Assigned: jimm)

Details

Attachments

(1 file)

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.
Attached patch patchSplinter Review
Cleans up these warnings plus some others.
Attachment #590253 - Flags: review?
Attachment #590253 - Flags: review? → review?(joshmoz)
Attachment #590253 - Flags: review?(joshmoz) → review+
https://hg.mozilla.org/mozilla-central/rev/874062cc7df7
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.