Skip to content

Commit c711708

Browse files
committed
fix
1 parent 0ecc507 commit c711708

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python.cext/src/capi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,6 @@ void register_native_slots(PyTypeObject* managed_class, PyGetSetDef* getsets, Py
790790
}
791791
}
792792

793-
int truffle_subclass_check(PyTypeObject* type) {
794-
return PyType_FastSubclass(type, Py_TPFLAGS_TYPE_SUBCLASS);
793+
int truffle_subclass_check(PyObject* type) {
794+
return PyType_FastSubclass(Py_TYPE(type), Py_TPFLAGS_TYPE_SUBCLASS);
795795
}

0 commit comments

Comments
 (0)