Closed Bug 134332 Opened 22 years ago Closed 16 years ago

warning: cast from pointer to integer of different size

Categories

(Core :: JavaScript Engine, defect)

Other
Other
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pavlov, Unassigned)

References

(Blocks 1 open bug)

Details

When building JS (as part of mozilla) on a machine that has 64bit longs and 
32bit pointers, I get an insane number of warnings such as:
../../../js/src/jsapi.c:99: warning: cast from pointer to integer of different 
size

While they shouldn't result in any data loss, it would be good to see the 
warnings go away.

I expect this is due to JS typedefing JSWord to long instead of something that 
is sizeof(void*).  brendan says jscpucfg.c should be used to help generate the 
right thing for the platform.
Reassigning to Kenton; cc'ing others -
Assignee: rogerl → khanson
Blocks: buildwarning
Assignee: khanson → general
QA Contact: pschwartau → general
Letting this ancient bug rest.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.