SIGN IN SIGN UP

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 9707bf228e008485a3fbb63aa7ee28cf88014f91)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
64dae2efd5a083d342d744d40ca8d6ebb28bc771
Parent: 807b103
Committed by GitHub <noreply@github.com> on 12/1/2022, 1:32:15 PM