diff options
author | Pedro Alves <palves@redhat.com> | 2013-04-19 15:29:09 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-04-19 15:29:09 +0000 |
commit | 89f6d8377b9a3a157db806a7b3fb30f3f8e353ca (patch) | |
tree | 9597dce795569dd4bc4420e5808b9b24b7406294 /gdb/ChangeLog | |
parent | ce6ec7d8d0bdec44a432131dfacc27917965f29f (diff) | |
download | binutils-gdb-89f6d8377b9a3a157db806a7b3fb30f3f8e353ca.tar.gz |
-Wpointer-sign: python/.
This fixes -Wpointer-sign warnings in the python/ code in the manner
that seems most appropriate to me.
gdb/
2013-04-19 Pedro Alves <palves@redhat.com>
* python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte
* python/py-prettyprint.c (print_string_repr): Change type of
'output' local to char *. Add cast to gdb_byte * in
LA_PRINT_STRING call.
(print_children): Change type of 'output' local to char *.
* python/py-value.c (valpy_string): Add cast to const char * in
PyUnicode_Decode call.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca172d1ffd9..f718b4dc824 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2013-04-19 Pedro Alves <palves@redhat.com> + * python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte + * python/py-prettyprint.c (print_string_repr): Change type of + 'output' local to char *. Add cast to gdb_byte * in + LA_PRINT_STRING call. + (print_children): Change type of 'output' local to char *. + * python/py-value.c (valpy_string): Add cast to const char * in + PyUnicode_Decode call. + +2013-04-19 Pedro Alves <palves@redhat.com> + * remote-mips.c (mips_cksum): Rename 'data' parameter to 'datastr' and change its type to 'const char *'. Adjust. (mips_send_packet): Add cast to 'char *', and remove cast to |