Closed Bug 1081283 Opened 10 years ago Closed 10 years ago

Use the correct calling convention on InitDwriteBG

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

Otherwise our stack is misaligned by the time we return from this. This misalignment doesn't cause a crash with the Winodws thread startup code, but it does with ASAN because it does many things after the thread entry point exits.
This bug could have been avoided if we did not use a C-style cast to stop the compiler from yelling at us for having the wrong calling convention. :)
Assignee: nobody → ehsan.akhgari
Attachment #8503366 - Flags: review?(jmuizelaar)
Blocks: winasan
Attachment #8503366 - Flags: review?(jmuizelaar) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: