Skip to content

Commit

Permalink
pythongh-116738: Fix incorrect type coersion on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicField committed Jun 6, 2024
1 parent 8a4ad8f commit 5df0f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/arraymodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ array_item(arrayobject *a, Py_ssize_t i)

void array_safe_memcpy(char* to, Py_ssize_t to_offset, char* from, Py_ssize_t from_offset, Py_ssize_t len)
{
int safe_len = len;
Py_ssize_t safe_len = len;
#ifdef Py_GIL_DISABLED
Py_ssize_t from_capacity = array_capacity(from);
Py_ssize_t to_capacity = array_capacity(to);
Expand Down

0 comments on commit 5df0f30

Please sign in to comment.