aboutsummaryrefslogtreecommitdiff
path: root/gdb/progspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r--gdb/progspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c
index ea2f8ec..3d7e475 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -215,7 +215,7 @@ set_current_program_space (struct program_space *pspace)
static void
restore_program_space (void *arg)
{
- struct program_space *saved_pspace = arg;
+ struct program_space *saved_pspace = (struct program_space *) arg;
set_current_program_space (saved_pspace);
}