mirror of https://github.com/python/cpython
make size arg signed
This commit is contained in:
parent
2165158ab3
commit
2497eada60
|
@ -88,7 +88,7 @@ newobject(tp)
|
|||
varobject *
|
||||
newvarobject(tp, size)
|
||||
typeobject *tp;
|
||||
unsigned int size;
|
||||
int size;
|
||||
{
|
||||
varobject *op = (varobject *)
|
||||
malloc(tp->tp_basicsize + size * tp->tp_itemsize);
|
||||
|
|
Loading…
Reference in New Issue