aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-netbsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparc-netbsd-tdep.c')
-rw-r--r--gdb/sparc-netbsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-netbsd-tdep.c b/gdb/sparc-netbsd-tdep.c
index a97a772..57c1785 100644
--- a/gdb/sparc-netbsd-tdep.c
+++ b/gdb/sparc-netbsd-tdep.c
@@ -295,7 +295,7 @@ static const struct regset sparc32nbsd_fpregset =
void
sparc32nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
- sparc_gdbarch_tdep *tdep = (sparc_gdbarch_tdep *) gdbarch_tdep (gdbarch);
+ sparc_gdbarch_tdep *tdep = gdbarch_tdep<sparc_gdbarch_tdep> (gdbarch);
nbsd_init_abi (info, gdbarch);