Skip to content
Snippets Groups Projects
Unverified Commit 64dae2ef authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

gh-99845: _PyObject_DictPointer(): fix dictoffset cast (GH-99922)



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.
(cherry picked from commit 9707bf22)

Co-authored-by: default avatarVictor Stinner <vstinner@python.org>
parent 807b103b
Branches 3.10
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment