Closed
Bug 328547
Opened 18 years ago
Closed 17 years ago
Support mozilla/layout on WinXP x64 build
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: m_kato, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
780 bytes,
patch
|
Biesinger
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; WOW64; SV1; .NET CLR 2.0.50727) Build Identifier: mozilla/layout/generic/nsObjectFrame.cpp isn't 64-bit safe. Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
To fix, I chage PRUint32 to PRUword. PRWord is generic pointer type suc as "void*".
Component: Layout → Layout: Misc Code
Comment 3•18 years ago
|
||
+ if (NS_REINTERPRET_CAST(PRUword, window->window) != (PRUword)(HDC)hdc) { wouldn't a better fix be to cast the left side to HDC instead and not to cast the right side?
Reporter | ||
Comment 4•18 years ago
|
||
(In reply to comment #3) > + if (NS_REINTERPRET_CAST(PRUword, window->window) != (PRUword)(HDC)hdc) { > > wouldn't a better fix be to cast the left side to HDC instead and not to cast > the right side? > HDC is equal to void* or HANDLE, not PRUint32. Microsoft Win64 compiler uses LLP64 model.
Comment 5•18 years ago
|
||
I don't understand, I meant this: if (NS_REINTERPRET_CAST(HDC, window->window) != hdc) { Why wouldn't that work?
Reporter | ||
Comment 6•18 years ago
|
||
Your fix is better.
Reporter | ||
Comment 7•18 years ago
|
||
Attachment #213148 -
Attachment is obsolete: true
Reporter | ||
Updated•18 years ago
|
Attachment #230577 -
Flags: review?(cbiesinger)
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•18 years ago
|
Attachment #230577 -
Flags: review?(cbiesinger) → review+
Comment 8•17 years ago
|
||
Makoto, were you planning on getting this checked in at some point? :-)
Reporter | ||
Comment 9•17 years ago
|
||
Attachment #230577 -
Attachment is obsolete: true
Reporter | ||
Comment 10•17 years ago
|
||
(In reply to comment #8) > Makoto, were you planning on getting this checked in at some point? :-) I forgot checking in. So I will send review/super-review with latest diff again.
Reporter | ||
Updated•17 years ago
|
Attachment #267966 -
Flags: review?(cbiesinger)
Updated•17 years ago
|
Attachment #267966 -
Flags: review?(cbiesinger) → review+
Reporter | ||
Updated•17 years ago
|
Attachment #267966 -
Flags: superreview?(dbaron)
Comment on attachment 267966 [details] [diff] [review] a patch for latest mozilla/layout sr=dbaron
Attachment #267966 -
Flags: superreview?(dbaron) → superreview+
Reporter | ||
Comment 12•17 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Updated•6 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•