Closed Bug 781686 Opened 13 years ago Closed 13 years ago

int-to-pointer-cast build error in GCC 4.6 in nsDOMClassInfo.cpp

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 781058

People

(Reporter: bjacob, Unassigned)

References

Details

Attachments

(1 file)

Fallout from bug 743573.
Attachment #650710 - Flags: review?(mounir)
I swear I did fix this one!
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+
Sure.
Ms2ger fixed it yesterday.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: