Closed Bug 419079 Opened 16 years ago Closed 16 years ago

cast void* in js/src, 20080222 edition

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta4

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file)

More casts needed from void* for C++, discovered during mozilla-central merge. Patch attached.
Attachment #305057 - Flags: review?(crowder)
Attachment #305057 - Flags: approval1.9?
Comment on attachment 305057 [details] [diff] [review]
Cast result of JS_malloc() and friends, rev. 1

Need to prefer (type *) for casts, and in the ALLOCATE_CAST cast "int64 *", as well.  r/a me with that fixed.
Attachment #305057 - Flags: review?(crowder)
Attachment #305057 - Flags: review+
Attachment #305057 - Flags: approval1.9?
Attachment #305057 - Flags: approval1.9+
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta4
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: