aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-04-19 15:35:21 +0000
committerPedro Alves <palves@redhat.com>2013-04-19 15:35:21 +0000
commit507a579c9a5e778ae737c7066df4864c5f1d2ccc (patch)
tree2c3ee6bfd33bc1d9328004e54a067424999cea16 /gdb/ada-lang.c
parentf9d83a0bd683b2298279bb93be8cf499fef90b6c (diff)
downloadgdb-507a579c9a5e778ae737c7066df4864c5f1d2ccc.zip
gdb-507a579c9a5e778ae737c7066df4864c5f1d2ccc.tar.gz
gdb-507a579c9a5e778ae737c7066df4864c5f1d2ccc.tar.bz2
-Wpointer-sign: dwarf2-frame.c: Pass unsigned variable to safe_read_uleb128.
The 'bytes_read' change should be obvious. As for the other hunk, we're passing the address of the signed 'offset' to safe_read_uleb128, which expects unsigned. Fix it by passing the address of the unsigned 'utmp' instead, like already done on other spots in the file. gdb/ 2013-04-19 Pedro Alves <palves@redhat.com> * dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local unsigned. Pass 'tmp' to safe_read_uleb128 instead of the signed 'offset', and adjust.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions