diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-04-30 11:52:13 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-04-30 11:52:13 +0000 |
commit | 019c1128ac20f7a8eb2d1eaeb4f69278948dd7bd (patch) | |
tree | 2df8f4eb23818f7d76bb7bc0c9e7d17dce63d6a7 /gdb/dwarf2read.c | |
parent | 5812197ca1f549b2a66374def03537638326e8c0 (diff) | |
download | gdb-019c1128ac20f7a8eb2d1eaeb4f69278948dd7bd.zip gdb-019c1128ac20f7a8eb2d1eaeb4f69278948dd7bd.tar.gz gdb-019c1128ac20f7a8eb2d1eaeb4f69278948dd7bd.tar.bz2 |
Fix -Wpointer-sign warning in sol-thread.c
This fixes a couple of compiler warnings in rw_common when calling
target_read_memory/target_write_memory due to the type of parameter
"buf" (char *) not matching what these function expect (gdb_byte *).
gdb/ChangeLog:
* sol-thread.c (rw_common): Change type of parameter "buf"
to "gdb_byte *".
(ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to
rw_common to "gdb_byte *" instead of "char *".
Diffstat (limited to 'gdb/dwarf2read.c')
0 files changed, 0 insertions, 0 deletions