diff options
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 3cfa1d5..dbc197e 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -242,7 +242,7 @@ inferior_to_inferior_object (struct inferior *inferior) { inferior_object *inf_obj; - inf_obj = inferior_data (inferior, infpy_inf_data_key); + inf_obj = (inferior_object *) inferior_data (inferior, infpy_inf_data_key); if (!inf_obj) { inf_obj = PyObject_New (inferior_object, &inferior_object_type); @@ -456,7 +456,7 @@ infpy_get_was_attached (PyObject *self, void *closure) static int build_inferior_list (struct inferior *inf, void *arg) { - PyObject *list = arg; + PyObject *list = (PyObject *) arg; PyObject *inferior = inferior_to_inferior_object (inf); int success = 0; @@ -833,7 +833,7 @@ py_free_inferior (struct inferior *inf, void *datum) { struct cleanup *cleanup; - inferior_object *inf_obj = datum; + inferior_object *inf_obj = (inferior_object *) datum; struct threadlist_entry *th_entry, *th_tmp; if (!gdb_python_initialized) |