Closed
Bug 781686
Opened 12 years ago
Closed 12 years ago
int-to-pointer-cast build error in GCC 4.6 in nsDOMClassInfo.cpp
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 781058
People
(Reporter: bjacob, Unassigned)
References
Details
Attachments
(1 file)
640 bytes,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
Fallout from bug 743573.
Attachment #650710 -
Flags: review?(mounir)
Comment 1•12 years ago
|
||
I swear I did fix this one!
Comment 2•12 years ago
|
||
Comment on attachment 650710 [details] [diff] [review] fix build of nsDOMClassInfo Review of attachment 650710 [details] [diff] [review]: ----------------------------------------------------------------- r=me either way ::: dom/base/nsDOMClassInfo.cpp @@ +9001,5 @@ > static inline void * > FlagsToPrivate(PRUint32 flags) > { > JS_ASSERT((flags & (1 << 31)) == 0); > + return (void *)(uintptr_t)(flags << 1); What about: return reinterpret_cast<void*>(static_cast<uintptr_t>(flags << 1));
Attachment #650710 -
Flags: review?(mounir) → review+
Reporter | ||
Comment 3•12 years ago
|
||
Sure.
Reporter | ||
Comment 4•12 years ago
|
||
Ms2ger fixed it yesterday.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•