We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b118921 commit 34a5b91Copy full SHA for 34a5b91
ext/pycall/pycall.c
@@ -1262,7 +1262,7 @@ pycall_pyobject_to_ruby(PyObject *pyobj)
1262
return pycall_pystring_to_ruby(pyobj);
1263
1264
Py_API(Py_IncRef)(pyobj);
1265
- Py_API(Py_IncRef)(pyobj->ob_type);
+ Py_API(Py_IncRef)((PyObject *)pyobj->ob_type);
1266
cls = pycall_python_type_mapping_get_mapped_class(pycall_pytypeptr_new((PyObject *)pyobj->ob_type));
1267
if (NIL_P(cls)) {
1268
rb_warning("Currentry do not support to convert %s to Ruby object", Py_TYPE(pyobj)->tp_name);
0 commit comments