summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/multiarray/nditer_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/nditer_impl.h b/numpy/core/src/multiarray/nditer_impl.h
index b36ab8543..2a82b7e54 100644
--- a/numpy/core/src/multiarray/nditer_impl.h
+++ b/numpy/core/src/multiarray/nditer_impl.h
@@ -289,7 +289,7 @@ struct NpyIter_AxisData_tag {
1 + \
/* intp stride[nop+1] AND char* ptr[nop+1] */ \
2*((nop)+1) \
- )*NPY_SIZEOF_INTP )
+ )*(size_t)NPY_SIZEOF_INTP)
/*
* Macro to advance an AXISDATA pointer by a specified count.