Closed Bug 65555 Opened 24 years ago Closed 24 years ago

pointer casting problem on 64 bit machines

Categories

(SeaMonkey :: Build Config, defect)

DEC
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 20860

People

(Reporter: scott, Assigned: dougt)

Details

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.
Marking NEW.
Status: UNCONFIRMED → NEW
Component: XPCOM → Build Config
Ever confirmed: true
Status: NEW → ASSIGNED
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
Closed: 24 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.