Skip to content

Commit e53ae3e

Browse files
committed
Fix compilation warning in capi.c
1 parent 89e2548 commit e53ae3e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ PyObject* get_tp_dict(PyTypeObject* obj) {
302302

303303
/** to be used from Java code only; reads native 'tp_base' field */
304304
PyObject* get_tp_base(PyTypeObject* obj) {
305-
return native_to_java(obj->tp_base);
305+
return native_to_java((PyObject*) obj->tp_base);
306306
}
307307

308308
/** to be used from Java code only; reads native 'tp_bases' field */

0 commit comments

Comments
 (0)