summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-05-30 04:43:23 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-05-30 04:43:23 (GMT)
commit5e1b45dc2159721340b8fbf952b941749eb9ab3e (patch)
tree7b9e3def18bc51047a813d871c6b7cbf531be76c /Objects
parentd3881b026cde7ab417bda090f0d360443692e5f7 (diff)
downloadcpython-5e1b45dc2159721340b8fbf952b941749eb9ab3e.zip
cpython-5e1b45dc2159721340b8fbf952b941749eb9ab3e.tar.gz
cpython-5e1b45dc2159721340b8fbf952b941749eb9ab3e.tar.bz2
No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and Py_ReprEntr returns an int
Diffstat (limited to 'Objects')
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index eaba724..9cfb672 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -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;