Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49776ef

Browse files
Use correct C type in byte_converter.
1 parent 5de3278 commit 49776ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/clinic/clinic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@ def converter_init(self):
20622062

20632063
@add_legacy_c_converter('B', bitwise=True)
20642064
class byte_converter(CConverter):
2065-
type = 'byte'
2065+
type = 'unsigned char'
20662066
default_type = int
20672067
format_unit = 'b'
20682068
c_ignored_default = "'\0'"

0 commit comments

Comments
 (0)