summaryrefslogtreecommitdiffstats
path: root/Tools/clinic
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-18 22:38:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-18 22:38:36 (GMT)
commit49776ef9e75065daf21c194c212cde73b378ff30 (patch)
tree437e2d23fdf28de078332e44b0515ec1d98c6a28 /Tools/clinic
parent5de3278b23b9426b2a9123dbd3d73ec2b1f6d2ba (diff)
downloadcpython-49776ef9e75065daf21c194c212cde73b378ff30.zip
cpython-49776ef9e75065daf21c194c212cde73b378ff30.tar.gz
cpython-49776ef9e75065daf21c194c212cde73b378ff30.tar.bz2
Use correct C type in byte_converter.
Diffstat (limited to 'Tools/clinic')
-rwxr-xr-xTools/clinic/clinic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index 748f5cf..0987d56 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -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'"