mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
This commit is contained in:
parent
99d8dd2489
commit
8c6f8dc527
3 changed files with 7 additions and 0 deletions
|
@ -343,6 +343,9 @@ typedef struct {
|
|||
the data pointer is filled out. The bit is redundant, and helps
|
||||
to minimize the test in PyUnicode_IS_READY(). */
|
||||
unsigned int ready:1;
|
||||
/* Padding to ensure that PyUnicode_DATA() is always aligned to
|
||||
4 bytes (see issue #19537 on m68k). */
|
||||
unsigned int :24;
|
||||
} state;
|
||||
wchar_t *wstr; /* wchar_t representation (null-terminated) */
|
||||
} PyASCIIObject;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue