mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
sim: rx: cast bfd_vma when printing
A bit of a hack, but it's what we've been doing so far when printing bfd_vma's since bfd doesn't provide PRI helper types for us to use.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2021-05-01 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* load.c (rx_load): Cast size to long.
|
||||||
|
|
||||||
2021-04-26 Mike Frysinger <vapier@gentoo.org>
|
2021-04-26 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* Makefile.in (NL_TARGET): Delete.
|
* Makefile.in (NL_TARGET): Delete.
|
||||||
|
@ -151,7 +151,7 @@ rx_load (bfd *prog, host_callback *callback)
|
|||||||
}
|
}
|
||||||
if (bfd_bread (buf, size, prog) != size)
|
if (bfd_bread (buf, size, prog) != size)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "Failed to read %lx bytes\n", size);
|
fprintf (stderr, "Failed to read %lx bytes\n", (long) size);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user