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
/
jv-valprint.c
diff --git
a/gdb/jv-valprint.c
b/gdb/jv-valprint.c
index 9fc8f50ed8ff1e279997df402106bfc7bab418e3..a8547a5819cbc3850829b1dad543ad3ccb3e3707 100644
(file)
--- a/
gdb/jv-valprint.c
+++ b/
gdb/jv-valprint.c
@@
-99,7
+99,8
@@
java_value_print (struct value *val, struct ui_file *stream,
{
gdb_byte *buf;
- buf = alloca (gdbarch_ptr_bit (gdbarch) / HOST_CHAR_BIT);
+ buf = ((gdb_byte *)
+ alloca (gdbarch_ptr_bit (gdbarch) / HOST_CHAR_BIT));
fputs_filtered (", ", stream);
wrap_here (n_spaces (2));
This page took
0.02436 seconds
and
4
git commands to generate.