Commit 2497eada authored by Guido van Rossum's avatar Guido van Rossum

make size arg signed

parent 2165158a
...@@ -88,7 +88,7 @@ newobject(tp) ...@@ -88,7 +88,7 @@ newobject(tp)
varobject * varobject *
newvarobject(tp, size) newvarobject(tp, size)
typeobject *tp; typeobject *tp;
unsigned int size; int size;
{ {
varobject *op = (varobject *) varobject *op = (varobject *)
malloc(tp->tp_basicsize + size * tp->tp_itemsize); malloc(tp->tp_basicsize + size * tp->tp_itemsize);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment