]> granicus.if.org Git - python/commitdiff
Use correct C type in byte_converter.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 18 Jan 2014 22:38:36 +0000 (00:38 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 18 Jan 2014 22:38:36 +0000 (00:38 +0200)
Tools/clinic/clinic.py

index 748f5cf20fcb523842e223d72c1a4237f563490c..0987d568bd6520771f0549dc0b8bd963ae70abcf 100755 (executable)
@@ -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'"