summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorDavid Hewitt <1939362+davidhewitt@users.noreply.github.com>2022-11-24 08:21:59 (GMT)
committerGitHub <noreply@github.com>2022-11-24 08:21:59 (GMT)
commitb4d54a332ed593c9fcd0da25684c622a251d03ce (patch)
tree7f7072a97e4424e22b3738bff13dbc87d04f5903 /Include/cpython
parentc24397a1080fa496d4e860e3054592ecb3685052 (diff)
downloadcpython-b4d54a332ed593c9fcd0da25684c622a251d03ce.zip
cpython-b4d54a332ed593c9fcd0da25684c622a251d03ce.tar.gz
cpython-b4d54a332ed593c9fcd0da25684c622a251d03ce.tar.bz2
gh-99706: unicodeobject: Fix padding in `PyASCIIObject.state` (GH-99707)
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/unicodeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h
index 8444507a..86eeab6 100644
--- a/Include/cpython/unicodeobject.h
+++ b/Include/cpython/unicodeobject.h
@@ -135,7 +135,7 @@ typedef struct {
unsigned int ascii:1;
/* Padding to ensure that PyUnicode_DATA() is always aligned to
4 bytes (see issue #19537 on m68k). */
- unsigned int :25;
+ unsigned int :26;
} state;
} PyASCIIObject;