commit | 5e1b45dc2159721340b8fbf952b941749eb9ab3e | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue May 30 04:43:23 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue May 30 04:43:23 2006 +0000 |
tree | 7b9e3def18bc51047a813d871c6b7cbf531be76c | |
parent | d3881b026cde7ab417bda090f0d360443692e5f7 [diff] [blame] |
No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and Py_ReprEntr returns an int
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 @@ 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;