* target.c (push_target): Cast result from xmalloc.
This commit is contained in:
parent
beb773f39f
commit
f6d5d0061c
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Jul 26 14:15:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* target.c (push_target): Cast result from xmalloc.
|
||||||
|
|
||||||
Tue Jul 26 18:20:46 1994 Paul Flinders (ptf@smee)
|
Tue Jul 26 18:20:46 1994 Paul Flinders (ptf@smee)
|
||||||
|
|
||||||
* elfread.c (elf_symtab_read): Discard compiler labels generated
|
* elfread.c (elf_symtab_read): Discard compiler labels generated
|
||||||
|
|
|
@ -420,7 +420,8 @@ push_target (t)
|
||||||
|
|
||||||
/* We have removed all targets in our stratum, now add the new one. */
|
/* We have removed all targets in our stratum, now add the new one. */
|
||||||
|
|
||||||
tmp = xmalloc (sizeof (struct target_stack_item));
|
tmp = (struct target_stack_item *)
|
||||||
|
xmalloc (sizeof (struct target_stack_item));
|
||||||
tmp->next = cur;
|
tmp->next = cur;
|
||||||
tmp->target_ops = t;
|
tmp->target_ops = t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue