summaryrefslogtreecommitdiffstats
path: root/Python/ast_opt.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-12-01 13:32:15 (GMT)
committerGitHub <noreply@github.com>2022-12-01 13:32:15 (GMT)
commit64dae2efd5a083d342d744d40ca8d6ebb28bc771 (patch)
treecb4d7b116c54be3d7905e50c442d1fe84c584243 /Python/ast_opt.c
parent807b103bddc4d466f3cfe78aed74c891617c9631 (diff)
downloadcpython-64dae2efd5a083d342d744d40ca8d6ebb28bc771.zip
cpython-64dae2efd5a083d342d744d40ca8d6ebb28bc771.tar.gz
cpython-64dae2efd5a083d342d744d40ca8d6ebb28bc771.tar.bz2
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>
Diffstat (limited to 'Python/ast_opt.c')
0 files changed, 0 insertions, 0 deletions