summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorDavid Hewitt <1939362+davidhewitt@users.noreply.github.com>2022-11-24 08:21:59 +0000
committerGitHub <noreply@github.com>2022-11-24 17:21:59 +0900
commitb4d54a332ed593c9fcd0da25684c622a251d03ce (patch)
tree7f7072a97e4424e22b3738bff13dbc87d04f5903 /Include
parentc24397a1080fa496d4e860e3054592ecb3685052 (diff)
downloadcpython-git-b4d54a332ed593c9fcd0da25684c622a251d03ce.tar.gz
gh-99706: unicodeobject: Fix padding in `PyASCIIObject.state` (GH-99707)
Diffstat (limited to 'Include')
-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 8444507ade..86eeab6727 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;