projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add casts to memory allocation related calls
[deliverable/binutils-gdb.git]
/
gdb
/
p-valprint.c
diff --git
a/gdb/p-valprint.c
b/gdb/p-valprint.c
index 0ceddd1faa3f6c146a0c25651f4e8ce189a65048..4e1c812c41c7c169a82885c74b9230d7056d4188 100644
(file)
--- a/
gdb/p-valprint.c
+++ b/
gdb/p-valprint.c
@@
-768,7
+768,7
@@
pascal_object_print_value (struct type *type, const gdb_byte *valaddr,
gdb_byte *buf;
struct cleanup *back_to;
- buf = xmalloc (TYPE_LENGTH (baseclass));
+ buf =
(gdb_byte *)
xmalloc (TYPE_LENGTH (baseclass));
back_to = make_cleanup (xfree, buf);
base_valaddr = buf;
This page took
0.026309 seconds
and
4
git commands to generate.