* 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

@ -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;