No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and Py_ReprEntr returns an int
This commit is contained in:
parent
d3881b026c
commit
5e1b45dc21
|
@ -764,7 +764,7 @@ dict_print(register dictobject *mp, register FILE *fp, register int flags)
|
|||
register Py_ssize_t i;
|
||||
register Py_ssize_t any;
|
||||
|
||||
i = Py_SAFE_DOWNCAST(Py_ReprEnter((PyObject*)mp), Py_ssize_t, int);
|
||||
i = Py_ReprEnter((PyObject*)mp);
|
||||
if (i != 0) {
|
||||
if (i < 0)
|
||||
return i;
|
||||
|
|
Loading…
Reference in New Issue