diff options
author | Pedro Alves <palves@redhat.com> | 2013-04-19 15:36:24 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-04-19 15:36:24 +0000 |
commit | 9f8afa72d13f221932e25bb15f01799e171d93a1 (patch) | |
tree | b46d3805fea0b09c306256e958b2e724d4384300 /gdb/proc-utils.h | |
parent | c714b42695bbe7ff5e22aae2f91f9071b3ecf601 (diff) | |
download | gdb-9f8afa72d13f221932e25bb15f01799e171d93a1.zip gdb-9f8afa72d13f221932e25bb15f01799e171d93a1.tar.gz gdb-9f8afa72d13f221932e25bb15f01799e171d93a1.tar.bz2 |
-Wpointer-sign: cp-valprint.c.
Fix:
../../src/gdb/cp-valprint.c: In function ‘cp_print_class_member’:
../../src/gdb/cp-valprint.c:793:3: error: pointer targets in passing argument 2 of ‘cp_find_class_member’ differ in signedness [-Werror=pointer-sign]
../../src/gdb/cp-valprint.c:721:1: note: expected ‘int *’ but argument is of type ‘unsigned int *’
'fieldno' is used throughout as 'int', so just follow the trend.
gdb/
2013-04-19 Pedro Alves <palves@redhat.com>
* cp-valprint.c (cp_print_class_member): Change type of 'fieldno'
local to int.
Diffstat (limited to 'gdb/proc-utils.h')
0 files changed, 0 insertions, 0 deletions