No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and Py_ReprEntr returns an int

This commit is contained in:
Neal Norwitz 2006-05-30 04:43:23 +00:00
parent d3881b026c
commit 5e1b45dc21
1 changed files with 1 additions and 1 deletions

View File

@ -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;