summaryrefslogtreecommitdiff
path: root/gdb/break-catch-syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/break-catch-syscall.c')
-rw-r--r--gdb/break-catch-syscall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c
index 1718f496113..7ae115f159a 100644
--- a/gdb/break-catch-syscall.c
+++ b/gdb/break-catch-syscall.c
@@ -85,7 +85,8 @@ get_catch_syscall_inferior_data (struct inferior *inf)
{
struct catch_syscall_inferior_data *inf_data;
- inf_data = inferior_data (inf, catch_syscall_inferior_data);
+ inf_data = ((struct catch_syscall_inferior_data *)
+ inferior_data (inf, catch_syscall_inferior_data));
if (inf_data == NULL)
{
inf_data = XCNEW (struct catch_syscall_inferior_data);