diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 02:06:42 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 02:06:42 (GMT) |
commit | 047f3c7ffad1eb30e8b5345d665e3e96062cbd5d (patch) | |
tree | 6f5eb8499bfeb47d3e050c9ae052117f457ff4d0 /Modules/dlmodule.c | |
parent | c7074386b41c4d38c6e11f614dacb55a312cde42 (diff) | |
download | cpython-047f3c7ffad1eb30e8b5345d665e3e96062cbd5d.zip cpython-047f3c7ffad1eb30e8b5345d665e3e96062cbd5d.tar.gz cpython-047f3c7ffad1eb30e8b5345d665e3e96062cbd5d.tar.bz2 |
Fix some Py_ssize_t issues
Diffstat (limited to 'Modules/dlmodule.c')
-rw-r--r-- | Modules/dlmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/dlmodule.c b/Modules/dlmodule.c index 0955681..899ad86 100644 --- a/Modules/dlmodule.c +++ b/Modules/dlmodule.c @@ -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; |