f02d1a43c6
The final addition (cur += step) may overflow, so use size_t for "cur".
"cur" is always positive (even for negative steps), so it is safe to use
size_t here.
Co-Authored-By: Martin Panter <vadmium+py@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
darwin | ||
libffi_msvc | ||
libffi_osx | ||
_ctypes.c | ||
_ctypes_test.c | ||
_ctypes_test.h | ||
callbacks.c | ||
callproc.c | ||
cfield.c | ||
ctypes.h | ||
ctypes_dlfcn.h | ||
malloc_closure.c | ||
stgdict.c |