Re: New ARI warning Wed May 23 01:55:03 UTC 2012

Andreas Schwab
2012-05-23T07:10:24Z

Sergio Durigan Junior <sergiodj@redhat.com> writes:

> @@ -311,9 +311,9 @@ int dwarf_block_to_sp_offset (struct gdbarch *gdbarch, const gdb_byte *buf,
>
> static inline const gdb_byte *
> gdb_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end,
> - unsigned long long *r)
> + ULONGEST *r)
> {
> - size_t bytes_read = read_uleb128_to_ull (buf, buf_end, r);
> + size_t bytes_read = read_uleb128_to_ull (buf, buf_end, (unsigned long long *) r);

That cannot work.

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."