diff options
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r-- | Objects/intobject.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index 0aae6ac..7f56acf 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -214,11 +214,10 @@ PyInt_AsSsize_t(register PyObject *op) return -1; } - if (nb->nb_long != 0) { + if (nb->nb_long != 0) io = (PyIntObject*) (*nb->nb_long) (op); - } else { + else io = (PyIntObject*) (*nb->nb_int) (op); - } if (io == NULL) return -1; if (!PyInt_Check(io)) { |