This commit is contained in:
Vitor Santos Costa
2018-05-20 18:40:56 +01:00
parent bdf7088665
commit 518ce92bea
17 changed files with 770 additions and 806 deletions

View File

@@ -265,7 +265,7 @@ PyObject *term_to_python(term_t t, bool eval, PyObject *o, bool cvt) {
#if PY_MAJOR_VERSION < 3
if (PyLong_Check(ip)) {
min = PyLong_AsLong(ip);
} else if (PyInt_Check(ip) {
} else if (PyInt_Check(ip)) {
min = PyInt_asInt(ip);
}
#else