From Bugzilla Helper: User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-12 i686) BuildID: 20010115 nsHashtable.h line 219 casts mKey to a PRUint32. mKey is a void*. On alpha and other 64 systems, void* is bigger then PRUint32. This generates a warning from gcc: cast from pointer to integer of different size. Line 190 contains the same thing. Reproducible: Always Steps to Reproduce: just try compiling anything that includes nsHashtable.h on a 64 bit platform.
Status: UNCONFIRMED → NEW
Component: XPCOM → Build Config
Ever confirmed: true
over to dougt
Assignee: scc → dougt
Status: ASSIGNED → NEW
isn't there a macro for pointer compares?
Already fixed -- see NS_INT32_TO_PTR and NS_PTR_TO_INT32, used now in nsHashtable.h, fix was part of bug 20860. /be *** This bug has been marked as a duplicate of 20860 ***
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.