From 12a74c66c6656bbf6a89bfae83b76e3df37d9199 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 3 Dec 2019 22:59:35 +0000 Subject: Port to python3 --- src/py_value.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/py_value.cc') diff --git a/src/py_value.cc b/src/py_value.cc index 486228c0..b0754896 100644 --- a/src/py_value.cc +++ b/src/py_value.cc @@ -71,7 +71,7 @@ namespace { return (PyObject *)&PyBool_Type; } else if (value.is_long()) { - return (PyObject *)&PyInt_Type; + return (PyObject *)&PyLong_Type; } else if (value.is_string()) { return (PyObject *)&PyUnicode_Type; -- cgit v1.2.3