From d7f3ff3ea7830389f458be7c5eadb5d4a4e0a90b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 26 Oct 2015 22:07:27 -0400 Subject: target.c: Add a cast and change a type Fixes some errors in C++ build. gdb/ChangeLog: * target.c (memory_xfer_partial): Change type of buf to gdb_byte pointer. (simple_search_memory): Cast return of memmem. --- gdb/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 568d486..f15dda5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2015-10-26 Simon Marchi + * target.c (memory_xfer_partial): Change type of buf to gdb_byte + pointer. + (simple_search_memory): Cast return of memmem. + +2015-10-26 Simon Marchi + * stap-probe.c (handle_stap_probe): Add (const char *) casts. 2015-10-26 Simon Marchi -- cgit v1.1