mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Fix some Py_ssize_t issues
This commit is contained in:
parent
c7074386b4
commit
047f3c7ffa
3 changed files with 10 additions and 9 deletions
|
|
@ -77,8 +77,8 @@ dl_call(dlobject *xp, PyObject *args)
|
|||
long, long, long, long, long);
|
||||
long alist[10];
|
||||
long res;
|
||||
int i;
|
||||
int n = PyTuple_Size(args);
|
||||
Py_ssize_t i;
|
||||
Py_ssize_t n = PyTuple_Size(args);
|
||||
if (n < 1) {
|
||||
PyErr_SetString(PyExc_TypeError, "at least a name is needed");
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue