diff options
-rw-r--r-- | numpy/core/src/hashdescr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/hashdescr.c b/numpy/core/src/hashdescr.c index 9a3968a19..b02825a98 100644 --- a/numpy/core/src/hashdescr.c +++ b/numpy/core/src/hashdescr.c @@ -81,7 +81,7 @@ clean_t: static int _array_descr_walk_fields(PyObject* fields, PyObject* l) { PyObject *key, *value, *foffset, *fdescr; - int pos = 0; + Py_ssize_t pos = 0; int st; while (PyDict_Next(fields, &pos, &key, &value)) { |