Skip to content

Commit

Permalink
Fix issue#6982 -- PM128A should be a pointer to 16-byte aligned M128U,
Browse files Browse the repository at this point in the history
not a 16-byte aligned pointer.
  • Loading branch information
EmployedRussian authored and rhuanjl committed Apr 21, 2024
1 parent 0ffb510 commit d09f8f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pal/inc/pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,8 @@ typedef struct _M128U {
} M128U, *PM128U;

// Same as _M128U but aligned to a 16-byte boundary
typedef DECLSPEC_ALIGN(16) M128U M128A, *PM128A;
typedef DECLSPEC_ALIGN(16) M128U M128A;
typedef M128A *PM128A;

typedef struct _XMM_SAVE_AREA32 {
WORD ControlWord;
Expand Down

0 comments on commit d09f8f3

Please sign in to comment.