29 Jan
2024
29 Jan
'24
4:17 p.m.
On Mon Jan 29 16:17:52 2024 +0000, David Kahurani wrote:
I'm not sure this will be possible. Looking at EmfPlusPoint: `typedef struct EmfPlusPoint { short X; short Y; } EmfPlusPoint;` On the other hand, GpPoint, which is a typedef for Point is defined as: `typedef struct Point { INT X; INT Y; } Point;` It seems to me that the difference in internal types means casting EmfPlusPoint to GpPoint will give us memory corruption. Oh, you're right, never mind.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4803#note_59394