Commit 64dae2e
pythongh-99845: _PyObject_DictPointer(): fix dictoffset cast (pythonGH-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 9707bf2)
Co-authored-by: Victor Stinner <[email protected]>1 parent 807b103 commit 64dae2e
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1091 | 1091 | | |
1092 | 1092 | | |
1093 | 1093 | | |
| 1094 | + | |
| 1095 | + | |
1094 | 1096 | | |
1095 | | - | |
1096 | 1097 | | |
1097 | 1098 | | |
1098 | 1099 | | |
| |||
0 commit comments