]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
target.c: Add a cast and change a type
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 27 Oct 2015 02:07:27 +0000 (22:07 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 27 Oct 2015 02:07:27 +0000 (22:07 -0400)
commitd7f3ff3ea7830389f458be7c5eadb5d4a4e0a90b
tree32647c1b1bb469a6718581a4c9de2b9b38bf98af
parentbf6778dab2b3efc5a0ab01ee41e62e966ef08069
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
gdb/target.c