Closed
Bug 717733
Opened 13 years ago
Closed 13 years ago
Fix int64 types usage in js/xpconnect
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: gaston, Assigned: gaston)
References
Details
Attachments
(1 file, 1 obsolete file)
1.01 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
Followup to bug #714264, m-c now fails to build on OpenBSD with : js/xpconnect/src/XPCJSRuntime.cpp:1881: error: invalid conversion from 'PRInt64*' to 'int64_t*' patch incoming fixing that issue (ie add a static_cast<int64_t*>(n) at the offending call, as it was done in the same call present in dom/workers/WorkerPrivate.cpp
Assignee | ||
Comment 1•13 years ago
|
||
static_cast wasn't enough, so here's the patch with a "regular" cast. error: invalid static_cast from type 'PRInt64*' to type 'int64_t*' (yeah, i've got to check what type is PRInt64...)
Assignee: general → landry
Attachment #588163 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 2•13 years ago
|
||
And as pointed out by waldo on IRC, reinterpret_cast<> is the way to go here.
Attachment #588163 -
Attachment is obsolete: true
Attachment #588163 -
Flags: review?(Ms2ger)
Attachment #588167 -
Flags: review?(Ms2ger)
Comment 3•13 years ago
|
||
Comment on attachment 588167 [details] [diff] [review] Fix int64 types breakage on OpenBSD Thanks, and sorry for breaking you.
Attachment #588167 -
Flags: review?(Ms2ger) → review+
Comment 6•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/821b2b0daf21
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•