mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
Use correct C type in byte_converter.
This commit is contained in:
parent
5de3278b23
commit
49776ef9e7
1 changed files with 1 additions and 1 deletions
|
@ -2062,7 +2062,7 @@ class char_converter(CConverter):
|
|||
|
||||
@add_legacy_c_converter('B', bitwise=True)
|
||||
class byte_converter(CConverter):
|
||||
type = 'byte'
|
||||
type = 'unsigned char'
|
||||
default_type = int
|
||||
format_unit = 'b'
|
||||
c_ignored_default = "'\0'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue