aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-darwin.c')
-rw-r--r--gdb/solib-darwin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index 2a33cd7..876ca8c 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -96,7 +96,8 @@ get_darwin_info (void)
{
struct darwin_info *info;
- info = program_space_data (current_program_space, solib_darwin_pspace_data);
+ info = (struct darwin_info *) program_space_data (current_program_space,
+ solib_darwin_pspace_data);
if (info != NULL)
return info;