Use correct C type in byte_converter.

This commit is contained in:
Serhiy Storchaka 2014-01-19 00:38:36 +02:00
parent 5de3278b23
commit 49776ef9e7
1 changed files with 1 additions and 1 deletions

View File

@ -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'"