diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-06-04 20:52:12 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-06-04 20:52:12 (GMT) |
commit | d7b7c7472b274c6867261b3a796c2aada9945849 (patch) | |
tree | bdde0b2f7a3b72b04961ea8eb92cd419eb576974 /Include | |
parent | 05cab75d5908948a4607494a8bfc5b85a735c713 (diff) | |
download | cpython-d7b7c7472b274c6867261b3a796c2aada9945849.zip cpython-d7b7c7472b274c6867261b3a796c2aada9945849.tar.gz cpython-d7b7c7472b274c6867261b3a796c2aada9945849.tar.bz2 |
Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfield
Diffstat (limited to 'Include')
-rw-r--r-- | Include/unicodeobject.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 99ea48b..e40cc98 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -901,12 +901,10 @@ typedef struct { /* minimum length of the buffer when overallocation is enabled, see _PyUnicodeWriter_Init() */ Py_ssize_t min_length; - struct { - unsigned char overallocate:1; - /* If readonly is 1, buffer is a shared string (cannot be modified) - and size is set to 0. */ - unsigned char readonly:1; - } flags; + unsigned char overallocate; + /* If readonly is 1, buffer is a shared string (cannot be modified) + and size is set to 0. */ + unsigned char readonly; } _PyUnicodeWriter ; /* Initialize a Unicode writer. |