-Wpointer-sign: aarch64-tdep.c.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:23:18 +0000 (15:23 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:23:18 +0000 (15:23 +0000)
commit96b32e50dd5d7fee19c94b58fd8e32cd02760637
tree7701cce1205eb53514bd4563a391b14289804ff4
parenteb1bd1fb4bc3d38a6474458828bd61ef4aa006b2
-Wpointer-sign: aarch64-tdep.c.

../../src/gdb/aarch64-tdep.c: In function ‘aarch64_analyze_prologue’:
../../src/gdb/aarch64-tdep.c:713:7: error: pointer targets in passing argument 3 of ‘decode_cb’ differ in signedness [-Werror=pointer-sign]
../../src/gdb/aarch64-tdep.c:386:1: note: expected ‘int *’ but argument is of type ‘unsigned int *’
../../src/gdb/aarch64-tdep.c:747:7: error: pointer targets in passing argument 3 of ‘decode_stur’ differ in signedness [-Werror=pointer-sign]
../../src/gdb/aarch64-tdep.c:597:1: note: expected ‘int *’ but argument is of type ‘unsigned int *’

'is64' is just used as a boolean; signed/unsigned doesn't really matter.

2013-04-19  Pedro Alves  <palves@redhat.com>

* aarch64-tdep.c (aarch64_analyze_prologue): Change type of local
'is64' to signed 'int'.
gdb/ChangeLog
gdb/aarch64-tdep.c