Fix some Py_ssize_t issues

This commit is contained in:
Neal Norwitz 2006-06-12 02:06:42 +00:00
parent c7074386b4
commit 047f3c7ffa
3 changed files with 10 additions and 9 deletions

View file

@ -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;