diff options
author | Pedro Alves <palves@redhat.com> | 2013-04-19 15:37:31 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-04-19 15:37:31 +0000 |
commit | 9c37696b249b48558ff2162259fc77360c38f28e (patch) | |
tree | ba8b532641b99ea9380ab5fb8c38884e31550b7b /etc/add-log.el | |
parent | a398505b407f8197a9efd80490d3c4a725aeaab0 (diff) | |
download | gdb-9c37696b249b48558ff2162259fc77360c38f28e.zip gdb-9c37696b249b48558ff2162259fc77360c38f28e.tar.gz gdb-9c37696b249b48558ff2162259fc77360c38f28e.tar.bz2 |
-Wpointer-sign: record.c.
../../src/gdb/record.c: In function ‘set_record_insn_history_size’:
../../src/gdb/record.c:670:5: error: pointer targets in passing argument 2 of ‘validate_history_size’ differ in signedness [-Werror=pointer-sign]
../../src/gdb/record.c:646:1: note: expected ‘int *’ but argument is of type ‘unsigned int *’
../../src/gdb/record.c: In function ‘set_record_call_history_size’:
../../src/gdb/record.c:682:5: error: pointer targets in passing argument 2 of ‘validate_history_size’ differ in signedness [-Werror=pointer-sign]
../../src/gdb/record.c:646:1: note: expected ‘int *’ but argument is of type ‘unsigned int *’
This fixes it in the obvious way.
gdb/
2013-04-19 Pedro Alves <palves@redhat.com>
* record.c (validate_history_size): Make parameter 'setting'
unsigned.
Diffstat (limited to 'etc/add-log.el')
0 files changed, 0 insertions, 0 deletions