Commit 9707bf2
authored
pythongh-99845: _PyObject_DictPointer(): fix dictoffset cast (python#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.1 parent 88b754b commit 9707bf2
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
| 1079 | + | |
| 1080 | + | |
1079 | 1081 | | |
1080 | | - | |
1081 | 1082 | | |
1082 | 1083 | | |
1083 | 1084 | | |
| |||
0 commit comments