commit | 047f3c7ffad1eb30e8b5345d665e3e96062cbd5d | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Jun 12 02:06:42 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Jun 12 02:06:42 2006 +0000 |
tree | 6f5eb8499bfeb47d3e050c9ae052117f457ff4d0 | |
parent | c7074386b41c4d38c6e11f614dacb55a312cde42 [diff] [blame] |
Fix some Py_ssize_t issues
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 @@ 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;