mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
make size arg signed
This commit is contained in:
parent
2165158ab3
commit
2497eada60
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue