Closed Bug 861032 Opened 10 years ago Closed 10 years ago

Clang trunk error: 'reinterpret_cast' from class 'mozilla::dom::AudioBuffer *' to its base at non-zero offset 'nsWrapperCache *' behaves differently from 'static_cast'

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: reuben, Assigned: u454397)

Details

Attachments

(1 file)

clang version 3.3 (trunk 179322) on OS X:

AudioBufferBinding.cpp:421:14: error: 'reinterpret_cast' from class 'mozilla::dom::AudioBuffer *' to its base at non-zero offset 'nsWrapperCache *' behaves differently from 'static_cast' [-Werror,-Wreinterpret-base-class]
Attached patch FixSplinter Review
Attachment #736626 - Flags: review?(bzbarsky)
Comment on attachment 736626 [details] [diff] [review]
Fix

r=me
Attachment #736626 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/378a5b44cd06
Assignee: nobody → reuben.morais
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.