]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and Py_ReprEntr retur...
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 30 May 2006 04:43:23 +0000 (04:43 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 30 May 2006 04:43:23 +0000 (04:43 +0000)
Objects/dictobject.c

index eaba7248ab2cd781dec357a783807cc1e172080d..9cfb6722f17c989923e13cc53da6e6c38e8ef815 100644 (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;