aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-11-05 09:18:27 +1030
committerAlan Modra <amodra@gmail.com>2014-11-05 16:38:10 +1030
commit1ae1b8cc656639e18715829cbcd72916e86f3324 (patch)
treeba943208819e8b8a1b954fee8881510a2e6899e7 /gdb/ChangeLog
parentee11262d06cc6af9d900b44cb4d9af29050b375f (diff)
downloadgdb-1ae1b8cc656639e18715829cbcd72916e86f3324.zip
gdb-1ae1b8cc656639e18715829cbcd72916e86f3324.tar.gz
gdb-1ae1b8cc656639e18715829cbcd72916e86f3324.tar.bz2
Cast result of obstack_next_free
obstack_next_free is supposed to return a void*, rather than a char* as it does currently. Avoid warning on void* arithmetic when obstack_next_free gets it proper return type. * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free to char* before doing pointer arithmetic.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f347b89..185d5e8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -3,6 +3,8 @@
* charset.c (convert_between_encodings): Shrink obstack using
obstack_blank_fast.
* minsyms.c (install_minimal_symbols): Likewise.
+ * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
+ to char* before doing pointer arithmetic.
2014-11-04 Simon Marchi <simon.marchi@ericsson.com>