* target.c (push_target): Cast result from xmalloc.

This commit is contained in:
Jim Kingdon 1994-07-27 05:10:52 +00:00
parent beb773f39f
commit f6d5d0061c
2 changed files with 6 additions and 1 deletions

View File

@ -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)
* elfread.c (elf_symtab_read): Discard compiler labels generated

View File

@ -420,7 +420,8 @@ push_target (t)
/* 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->target_ops = t;