projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* target.c (push_target): Cast result from xmalloc.
[deliverable/binutils-gdb.git]
/
gdb
/
target.c
diff --git
a/gdb/target.c
b/gdb/target.c
index e95014aa6beb39c7cc7c24a49efc768a196dc2ba..bf824523e3abebfcd8389797cf071083787c4b11 100644
(file)
--- a/
gdb/target.c
+++ b/
gdb/target.c
@@
-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;
This page took
0.023767 seconds
and
4
git commands to generate.