summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/textreading/rows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/textreading/rows.c b/numpy/core/src/multiarray/textreading/rows.c
index 37a1bd67f..0bd4397ad 100644
--- a/numpy/core/src/multiarray/textreading/rows.c
+++ b/numpy/core/src/multiarray/textreading/rows.c
@@ -162,7 +162,7 @@ read_rows(stream *s,
bool homogeneous)
{
char *data_ptr = NULL;
- int current_num_fields;
+ Py_ssize_t current_num_fields;
npy_intp row_size = out_descr->elsize;
PyObject **conv_funcs = NULL;