Commit be4169cf authored by Serhiy Storchaka's avatar Serhiy Storchaka

Use correct C type in byte_converter.

parent 97fc5c47
...@@ -2062,7 +2062,7 @@ class char_converter(CConverter): ...@@ -2062,7 +2062,7 @@ class char_converter(CConverter):
@add_legacy_c_converter('B', bitwise=True) @add_legacy_c_converter('B', bitwise=True)
class byte_converter(CConverter): class byte_converter(CConverter):
type = 'byte' type = 'unsigned char'
default_type = int default_type = int
format_unit = 'b' format_unit = 'b'
c_ignored_default = "'\0'" c_ignored_default = "'\0'"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment