Skip to content

Commit a838abe

Browse files
authored
Merge pull request numpy#19914 from DimitriPapadopoulos/lgtm_warning_size_t
MAINT: Fix LGTM.com warning in nditer_imp.h
2 parents 355163f + 10d15ea commit a838abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/src/multiarray/nditer_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ struct NpyIter_AxisData_tag {
289289
1 + \
290290
/* intp stride[nop+1] AND char* ptr[nop+1] */ \
291291
2*((nop)+1) \
292-
)*NPY_SIZEOF_INTP )
292+
)*(size_t)NPY_SIZEOF_INTP)
293293

294294
/*
295295
* Macro to advance an AXISDATA pointer by a specified count.

0 commit comments

Comments
 (0)