]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-99706: unicodeobject: Fix padding in `PyASCIIObject.state` (GH-99707)
authorDavid Hewitt <1939362+davidhewitt@users.noreply.github.com>
Thu, 24 Nov 2022 08:21:59 +0000 (08:21 +0000)
committerGitHub <noreply@github.com>
Thu, 24 Nov 2022 08:21:59 +0000 (17:21 +0900)
Include/cpython/unicodeobject.h

index 8444507ade1b31ea370394eabe0dca3935183239..86eeab67275ec8a72818b7645a54454f7af55fce 100644 (file)
@@ -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;