forked from Imagelibrary/binutils-gdb
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:
@@ -151,7 +151,7 @@ rx_load (bfd *prog, host_callback *callback)
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user