X Tutup
Skip to content

[3.11] gh-99845: _PyObject_DictPointer(): fix dictoffset cast#99922

Merged
vstinner merged 1 commit intopython:3.11from
vstinner:obj_dictptr311
Dec 1, 2022
Merged

[3.11] gh-99845: _PyObject_DictPointer(): fix dictoffset cast#99922
vstinner merged 1 commit intopython:3.11from
vstinner:obj_dictptr311

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 1, 2022

Cast size_t to Py_ssize_t, rather than casting it to long. On 64-bit Windows, long is 32-bit whereas Py_ssize_t is 64-bit.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup