Commit db60fa6b by Jimmy Committed by Victor M. Alvarez

Fixed integer conversion (#99)

parent 39c475a9
......@@ -424,7 +424,7 @@ PyObject* convert_object_to_python(
{
case OBJECT_TYPE_INTEGER:
if (object->value.i != UNDEFINED)
result = Py_BuildValue("i", object->value.i);
result = Py_BuildValue("l", object->value.i);
break;
case OBJECT_TYPE_STRING:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment