Add cast in nto-tdep.c
gdb/ChangeLog: * nto-tdep.c (nto_inferior_data): Add cast.
This commit is contained in:
parent
c72f45d16c
commit
fb70bc1a74
@ -1,3 +1,7 @@
|
||||
2015-10-22 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* nto-tdep.c (nto_inferior_data): Add cast.
|
||||
|
||||
2015-10-22 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* windows-nat.c (do_initial_windows_stuff): Rewrite loop using
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user