aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-10-22 11:58:38 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-10-22 11:58:38 -0400
commitfb70bc1a74d371cc6cc07e018df436a17c26037e (patch)
tree37e242be5ae7e420b6ba13aea3f16a3d8860c95d /gdb/nto-tdep.c
parentc72f45d16c16954478dcd87531df146f68acd87c (diff)
downloadgdb-fb70bc1a74d371cc6cc07e018df436a17c26037e.zip
gdb-fb70bc1a74d371cc6cc07e018df436a17c26037e.tar.gz
gdb-fb70bc1a74d371cc6cc07e018df436a17c26037e.tar.bz2
Add cast in nto-tdep.c
gdb/ChangeLog: * nto-tdep.c (nto_inferior_data): Add cast.
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r--gdb/nto-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index fdf6c81..c2b8e43 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -552,7 +552,8 @@ nto_inferior_data (struct inferior *const inferior)
gdb_assert (inf != NULL);
- inf_data = inferior_data (inf, nto_inferior_data_reg);
+ inf_data
+ = (struct nto_inferior_data *) inferior_data (inf, nto_inferior_data_reg);
if (inf_data == NULL)
{
set_inferior_data (inf, nto_inferior_data_reg,