projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af72d5
)
Cast UCHAR_MAX to int before doing the comparison for overflow of the
author
Jack Jansen
<jack.jansen@cwi.nl>
Fri, 15 Sep 2000 12:51:01 +0000
(12:51 +0000)
committer
Jack Jansen
<jack.jansen@cwi.nl>
Fri, 15 Sep 2000 12:51:01 +0000
(12:51 +0000)
B format char.
Python/modsupport.c
patch
|
blob
|
history
diff --git
a/Python/modsupport.c
b/Python/modsupport.c
index 2cadeb8268cbbb3ca7f2c45fd2ce51563d792074..c87f994f20539a139c148f01dc1a6ed307417cda 100644
(file)
--- a/
Python/modsupport.c
+++ b/
Python/modsupport.c
@@
-247,6
+247,7
@@
do_mkvalue(char **p_format, va_list *p_va)
countformat(*p_format, '}'));
case 'b':
+ case 'B':
case 'h':
case 'i':
return PyInt_FromLong((long)va_arg(*p_va, int));